how do i transform a standard COM object into ActiveX?
Hi, A have a working COM object. do I need to do any code/registry modifications in order to make it an ActiveX? Ofer ...
Hi, A have a working COM object. do I need to do any code/registry modifications in order to make it an ActiveX? Ofer ...
Hello, I'm creating a setup pacakage in Visual Studio 2008 to register a COM component and one of the actions is to add a few keys to the registry. The odd thing about it is when I run the installer it creates the key hierarchy correctly but the last key in the hierarchy it creates has the wrong GUID... whereas its right in the installe...
Hi, i'm converting C++ to C++/CLI and would like to expose some managed classes as COM objects. In C# it was easy and setting [ComVisible] & inheriting from interface (also ComVisible) did the job. However C++ project build as C++/CLI does not export DllRegisterServer. Here is sample project (started from CLR Console Application proj...
I have created a Type Library out of a .NET DLL i created. I then imported it into Delphi and called a method within the interface of the COM Object. When it is trying to create the COomObject i get the Error that the class is not registered. The dll is registered with the GAC so it shouldn't be that. Anybody know what else could caus...
I have a .exe file I've been given which has COM classes inside it -- these are from C++, not .net ComVisible types I'd like to use those classes inside my .net project, but I can't add a reference to the exe; when I try I get DIALOG BOX: --------------------------- Microsoft Visual Studio --------------------------- A reference to ...
We have a browser based application, a thin client, which was developed many years ago but is still in production and is still being moved forward. This thin client application is a CGI application and we have run into a critical issue that has stopped us in our tracks. We have a need to have the CGI application talk to a Web Service a...
I can start a new hidden Visual Studio process from VBScript, and drive it programmatically, by doing this: Set DTE = CreateObject("VisualStudio.DTE.8.0") DTE.DoStuff() How do I do that in C#? (Edit: using the correct types, not generic COM objects as used by that VBScript code.) I've tried this: using EnvDTE; ... DTE dte = new DTE...
hi guys, i have a .net dll which is written in c sharp, which uses linq to read data and return it to another calling vba app. i didn't plan for this so the initial project was written for it to be accessible by another .net app. so now i just found out that there's a lot of stuff about .net com interoperability and what not. so i've le...
I'd like to access a COM library via late binding. How can I find out its progID? Type oClassType = Type.GetTypeFromProgID("THE MISSING PROGID"); ...
Anybody have an example of how to use tlbimp.exe's /keycontainer command line switch? The googles...they don't help. It's always /publickey, or /keyfile. No example of using /keycontainer. ...
I have a COM dll that is working fine as an in-proc server and I install it in Component Services COM+ Applications. Now when I try to CoCreate it from my client app, I get HRESULT 0x8007007e "The specified module could not be found". What could be causing this? ...
I have a managed assembly that gets called via COM Interop. Like a VBScript client, a Perl client, and so on. The classes are decorated with [ClassInterface(ClassInterfaceType.AutoDual)] [GuidAttribute("ebc25cf6-9120-4283-b972-0e5520d0000E")] [ComVisible(true)] Then of course I do the regasm thing, and all the methods work just fi...
I have a managed assembly containing a few classes, and those classes have overloaded methods. I expose the assembly to COM/IDispatch callers via [ComVisible(true)] ..and also setting the proper Guid, on the assembly itself. I do not define an explicit interface for the COM interop. It's all done dynamically. I run regasm.exe /codeb...
It appears you can not use generic types directly with COM: see Interoperating Using Generic Types on MSDN. Can anyone give an example of how this could be achieved? ...
By the no-drop icon I mean the circle with a slash indicating that you can't drop in the given location. Which function is responsible for triggering this icon change? ...
hi guys, i have a .net dll written in c# which reads data off a data source and acts as a wrapper to allow other apps to call its function to retrieve those data. the thing is i didn't anticipate the .net dll to be used for other than .net apps, so now i was told this all is going to be used in a vba/powerpoint macro which i figure is r...
I am getting the following error in my VC++ COM project. What is the problem in linking the lib files here? Error 4 error LNK2019: unresolved external symbol _BVUOpen@8 referenced in function "unsigned int __stdcall AFunc(void *)" (?AFunc@@YGIPAX@Z) CBillAcceptor.obj BillAcceptorCOM ...
Hi, We have an end-user client which has it's central logical components inside an singleton-COM object. (Not propper singleton, but it uses global variables internally, so it would fail.) So that there should be only one instance per exe-file. Convenient while making the client. However, I should now make a "client-simulator" to test t...
Hello, I'm running Classic ASP on Windows 2008 Server x64 in 64bit mode. ADODB is running fine in 64bit with classic ASP. I have a problem with mine .NET COM DLL. I have created a .NET COM DLL with such code as an sample: using System.Runtime.InteropServices; namespace TestNamespace { [Guid("C446E97E-B415-4677-B99E-9644657FC98"), ...
How do I make a C++ class library COM-Visible, and call it from VB6 code? ...