How to register COM component and use in c# window application
-
Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh
i want to join this group
-
Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh
i want to join this group
hi you can register com objects with regsvr32.exe. pass the full filename as parameter. after registering, add a reference to your project selecting the com object registered before. visual studio create a wrapper for the com object and add this wrapper as refernece to the project. regards
-
Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh
i want to join this group
Just so you know, you shouldn't post your question in lots of forums at the same time. Just pick the one most relevant forum and post there only. In this case, the C# would have been the best place. http://www.codeproject.com/script/Forums/View.aspx?fid=387161&msg=2810278[^] http://www.codeproject.com/script/Forums/View.aspx?fid=1650&msg=2810275[^] http://www.codeproject.com/script/Forums/View.aspx?fid=1646&msg=2810274[^] http://www.codeproject.com/script/Forums/View.aspx?fid=1648&msg=2810271[^]
Simon
-
hi you can register com objects with regsvr32.exe. pass the full filename as parameter. after registering, add a reference to your project selecting the com object registered before. visual studio create a wrapper for the com object and add this wrapper as refernece to the project. regards
Dear All, Sorry i dont where to post these kind of questions.its related to COM and also .net so i posted in all the forums. Dear Jeo, Thanks for your help.When iam registring the COM component using the method which specified. Iam getting the following errors. c:\xyz\xyz\COMcomponent.exe was loaded,but the DLLRegisterServer entry point was not found. c:\xyz\xyz\COMcomponent.exe does not apperas to be a .DLL or .OCX file Please help me on this. Thanks and Regards Veeresh
i want to join this group
-
Dear All, Sorry i dont where to post these kind of questions.its related to COM and also .net so i posted in all the forums. Dear Jeo, Thanks for your help.When iam registring the COM component using the method which specified. Iam getting the following errors. c:\xyz\xyz\COMcomponent.exe was loaded,but the DLLRegisterServer entry point was not found. c:\xyz\xyz\COMcomponent.exe does not apperas to be a .DLL or .OCX file Please help me on this. Thanks and Regards Veeresh
i want to join this group
-
in this case your exe ist not a com object. all com object must contain DLLRegisterServer and DLLUnregisterServer methods. this methods register/unregister the com object.
Hi Jeo, Thanks a lot for help.I will get COM component and i will register. Thanks and Regards Veeresh
i want to join this group
-
Dear All, Iam new to c# window application and also for COM.I have a COM component which is developed in Visual Basic.Now i want to use this component into my c# window application.How can i register and use.The COM is in the form of EXE not in the form of DLL.Please help me out on this. Thanks & Regards Veeresh
i want to join this group
DO NOT CROSSPOST the same question in multiple forums. You spammed about half the forums on the site...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008