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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top