VB6 and VB.NET (Newbie)

  • Thread starter Thread starter Stephen Piland
  • Start date Start date
S

Stephen Piland

For learning purposes, I have converted a small VB6 DLL to
a VB.NET DLL. It was and is used by VB6 .EXE. I know
that .NET is intented to get us out of DLL-Hell, but how
would someone use the .NET DLL in a VB6 app? I try to add
it by browsing in the References section, but it indicates
that it is not self registering. Eventually, I will move
the VB6 .EXE to .NET, but since my DLL was small, I
thought I'd start with it.

Any thoughts would be appreciated...
 
In the properties dialog for the .NET project, expand
the "Configuration Properties" node and select
the "Build" node. Then check the "Register For COM
Interop" checkbox. This will make the .NET dll callable
from VB6.

Jeff Levinson

Author of "Building Client/Server Applications with
VB.NET: An Example Driven Approach"
 
Back
Top