Groups | Blog | Home
all groups > dotnet component services > july 2005 >

dotnet component services : Create .NET UI component for use by VB6


amiram.sella NO[at]SPAM gmail.com
7/12/2005 1:10:52 AM
I need to use my C# UsereControl in a VB6 application.
My first step was to build a new WindowsControlLibrary project and add
the usercontrol to it.
It compiled, a DLL was built, and by setting the "Register for COM
Interop" to TRUE a .tlb file was also built.

But to use it in a VB6 application as a Component (not just COM DLL)
there must be an OCX file !!!
Is there any work-around?
I have read that there is no support for creating ActiveX any more.
Klaus H. Probst
7/15/2005 1:21:02 PM
You cannot create OCX controls that can be hosted on anything other than IE
using the .NET framework, sorry.

--
Klaus H. Probst, MVP
http://www.simulplex.net/


[quoted text, click to view]
AddThis Social Bookmark Button