VB6 and VB.NET (Newbie)

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...
 
J

Jeff Levinson [mcsd]

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"
 

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