Using a .NET DLL from VB 6.0

  • Thread starter Thread starter Helene Day
  • Start date Start date
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
 
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.)
 
Back
Top