Using .Net Windows controls from COM (VB6)

  • Thread starter Thread starter Jaime Soto
  • Start date Start date
J

Jaime Soto

Hi,

I have created a .Net Windows control and I want to be
able to use it from VB6. I have spent a lot of time
trying to me it work but no success. I've been using
attributes (ComRegisterFunction, ComUnregisterFunction),
Regasm, strong key but no results.

Can anybody tell me or provide me an example of how to use
a .Net windows control from COM (VB6).

Thanks!
 
Jaime,
Can anybody tell me or provide me an example of how to use
a .Net windows control from COM (VB6).

That's not supported, and if you try it anyway it tends to not work
very well, so if I were you I'd re-think my design. Managed languages
aren't the best choice to write ActiveX controls in.



Mattias
 
Back
Top