Using a .NET DLL from VB 6.0

H

Helene Day

I have a .NET DLL that I need to use from a VB 6.0 application.
How do I do this?
Any other issues I should be aware?

Thanks for anyone help,

Helene
 
G

Guest

In the .NET project, go to Project Properties, Configurational Properties,
and change 'Register for COM interop' to true.
Then when you build it, it should register it. Alternatively to do it
manually run regasm on it from the .NET command prompt.
Then you just use it like a normal COM object, don't expect there to be
intellisense though. (I personally think this was deliberate.)
 

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

Top