Making ActiveX (OCX) Control i VB.NET ?
-
I'm developing a VB.NET based control which works today in my company's .NET WinForms based apps... but I need to use my control in our VB6 based applications also. Is it possible to ActiveX/OCX-enable a .NET control or somehow make a OCX version ? ...and if so, how is it done ? Thanks in advance :)
-
I'm developing a VB.NET based control which works today in my company's .NET WinForms based apps... but I need to use my control in our VB6 based applications also. Is it possible to ActiveX/OCX-enable a .NET control or somehow make a OCX version ? ...and if so, how is it done ? Thanks in advance :)
You've got a bit of work to do. Here[^] is an example that covers the basics of how to do it. You'd be wise to read up on COM Interop[^]. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You've got a bit of work to do. Here[^] is an example that covers the basics of how to do it. You'd be wise to read up on COM Interop[^]. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
I got a "plain" .NET DLL (COM interopt enabled) to work fine from VB6... no problem here. But I need to make a ActiveX control (visible user control) OCX from .NET... Anyone got a sample or tutorial how to do this ?
The VB.NET compiler won't build a "real" ActiveX OCX control. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome