Creating Active EXE (DCOM)

laalitseth

New member
Joined
Jul 25, 2005
Messages
2
Programming Experience
1-3
Hi all,

I have an ActiveX Exe (DCOM Component) in VB 6.0.
We are trying to convert this in VB .NET but the upgrade wizard suggest this to convert into Class library as DLL. Compiling the same in VB .NET does not result this in DCOM component.

How can i create/covert DCOM Component in VB .NET?
Any Reply will be highly appreciated.

Lalit Seth
 
Go to the project properties and select Configuration Properties -> Build. You need to check the "Register for COM Interop" option to be able to use a .NET DLL as a COM object. You can do it for both but make sure you definitely do it for the Release configuration. I've never used DCOM so I'm not sure, but I'd say this should do the trick.
 
Thanks jmcilhinney,

But this does not help in creating the DCOM object.
I can't view the component in 'dcomcnfg' once it is successfully compiled and registered

Also there is no other option in the tab which can help.

Lalit Seth
 
Back
Top