How do I use CSharp to create ActiveX Objects?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI, I want to hide my JScript code for some DHTML routines that I designed. So I figured that I could pilot the code into CSharp and create a DLL that I can call in JScript as an ActiveX Object (via "new ActiveXObject('MyProgID.Example');"). Is this possible

Rashad Rivera
 
I think you mean ActiveX Controls instead of Objects. I would also like to know how to use JScript .NET in the same way. What I want to know is why a MSFT has yet to answered your question.

- DG
 
I think you mean ActiveX Controls instead of Objects. I would also like
to know how to use JScript .NET in the same way. What I want to know
is why a MSFT has yet to answered your question.

ActiveX controls are not supported on the .Net framework. By supported, I
mean cannot be created, but can still be used. It's seen as a dated
technology that's on it's way out.

The best way to create an ActiveX control is with the MFC ActiveX Wizard in
either VC++ 6 or 7 (.net).
 
Back
Top