Creating ActiveX DLL using .NET - is it possible?

  • Thread starter Thread starter Hvitebj?rn
  • Start date Start date
H

Hvitebj?rn

I have created a graphical control using C#.NET and made it
COM-compatible using the method described here:
http://www.codeproject.com/cs/miscctrl/exposingdotnetcontrols.asp

Adding the control to a VB 6.0 form works fine - with one important
exception: the control disappears (except for any label/text on the
control) if the user clicks the .NET-made control (giving it focus)
and then clicks a button or other control which is not part of the
..NET-made control (removing focus).

Any ideas? Is it at all possible? Any help is greatly appreciated.
 
Any ideas? Is it at all possible?

It doesn't work very well (as you've seen) and isn't supported, so I'd
advice against trying to use Winforms controls as ActiveX controls.



Mattias
 
Back
Top