Why does my .NET ActiveX control fail to register in Internet Explorer? -


I'm writing an ActiveX control to run in Internet Explorer. I am using C # and System.Runtime.InteropServices namespace.

When I register the control manually on my development machine using regasm , the control works and I can apply its methods to javascript Using new ActiveXObject (..) functionality.

However, for the purpose of producing, I will see the & lt; Object & gt; tag, and this is where I'm having trouble.

ActiveX has failed to register DLL, and when I observe the ActiveX registration error message (using the code download error log viewer), I see the following:

OSX registration: A DllRegisterServer entry point (path of my control.dll). Skipping registrations.

Can anyone take me under this? Do my C # code need to do the DllRegisterServer action? Can the use of ActiveX controls developed in NSET like this be done in this way?

Many thanks.

If "production" means you public internet, and you want your page to be automatically created To download and register the ActiveX control, you will need to do some special packaging such as "Do you have an ActiveX control either from a VS 2008 project?"

However, if your production environment is an intranet , You can use it to register your assembly and Then use gacutil.exe to install in GAC (as described in the article).


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -