1
Reply

How to build an ActiveX control in C#

Mikael Håkansson

Mikael Håkansson

Oct 20 2005 8:20 AM
2.1k
Hi! I´m currently writing an usercontrol in .Net and using it in vb6. This works fine if I register it as a COM interop. I can create an instance of the control in runtime and add it to the vb6 form using the VBControlExtender However, I can´t add the component to the component tab in vb6 since it´s not an ActiveX control. I wonder if it is possible to compile a class library as an ActiveX component in C#? Any help is appreciated. Mikael

Answers (1)