Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

ActiveX/IE5 and C# components

Hello, I am wanting to develop some graphical controls for hosting inside
IE5 either as ActiveX controls or as resident COM objects (much like
MSXML.dll etc). Reading the NGWS reference I have come up with nothing that
describes how or whether this is possible. The only code I have found
involves the <OBJECT> tag which works like this according to "Appendix A -
NGWS Runtime MIME Filter"

<OBJECT ID="mycomplusobject"
CODEBASE="http://activex.microsoft.com/controls/iexplorer/iemenu.ocx#fooClas
s" TYPE="application/x-complus"></OBJECT>

I havent been able to find a switch to compile to a .OCX file but have tried
running a winforms "helloWorld" EXE and DLL using similar code to above,
both fail.

Anyway thats my attempts at ActiveX hosting. As for hosting a COM+ object
directly in IE5 as you would Excel or Word, is this at all possible?

Last two questions, would I be able to extend a Winforms control in VCC6 and
display it in a C++ ActiveX component? And has anyone managed to use OpenGL
in their .NET C# programs

Thanks, Mat
[1143 byte] By [Matthew Bray] at [2007-11-9 18:22:27]