ActiveX component

  • Thread starter Thread starter Morten
  • Start date Start date
M

Morten

Hi!

I have a quick question regarding C#.Net, since I am a complete newbe in
this area!



I was wondering if it is possible in some way, to develop an ActiveX control
in .Net which can be deployed in an old-fashioned Visual Basic 6 project.



The reason why I started to wonder, is because I found a tutorial on the Web
in which it is explained, how one can create a Windows control project in
Visual Studio .NET, expose an interface to the COM world, and then use this
control in a Web page! However I don't know if this can be done in relation
to Visual Basic 6 as well!



Thank you



- Morten
 
Morten,

There is no official support for hosting .NET controls in an ActiveX
container outside of Internet Explorer. However, Chris Sells has figured
out an EXTREMELY unsupported method to do this. Check out the article
titled "Hosting Windows Forms Controls in COM Control Containers", located
at (watch for line wrap):

http://www.ondotnet.com/pub/a/dotnet/2003/01/20/winformshosting.html

Hope this helps.
 
Hi Nicholas!

Thank you for your response!

- Morten

Nicholas Paldino said:
Morten,

There is no official support for hosting .NET controls in an ActiveX
container outside of Internet Explorer. However, Chris Sells has figured
out an EXTREMELY unsupported method to do this. Check out the article
titled "Hosting Windows Forms Controls in COM Control Containers", located
at (watch for line wrap):

http://www.ondotnet.com/pub/a/dotnet/2003/01/20/winformshosting.html

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Morten said:
Hi!

I have a quick question regarding C#.Net, since I am a complete newbe in
this area!



I was wondering if it is possible in some way, to develop an ActiveX control
in .Net which can be deployed in an old-fashioned Visual Basic 6 project.



The reason why I started to wonder, is because I found a tutorial on the Web
in which it is explained, how one can create a Windows control project in
Visual Studio .NET, expose an interface to the COM world, and then use this
control in a Web page! However I don't know if this can be done in relation
to Visual Basic 6 as well!



Thank you



- Morten
 
Back
Top