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] "amiram.sella@gmail.com" wrote:
> 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.
>