Using .NET-Class in VB6 and make them ready for setup

N

Nijazi Halimaji

Hi everybody

I have created a .NET Library (Build it) and implemented it in VB6. In VB6 i
used a reference to get the functions, etc. and it worked fine.

But when I make a setup project in VB6 install it to another computer I have
the problem, that the reference to the class is not there (the net-dll i
installed in the same directory a the application). An error is shown, that
the object has not been found.

Do I make a general mistake in this case?

Thanks alot

Nijazi Halimaji
 
P

Phill. W

I have created a .NET Library (Build it) and implemented it in VB6.
In VB6 i used a reference to get the functions, etc. and it worked fine.

But when I make a setup project in VB6 install it to another computer
I have the problem, that the reference to the class is not there
(the net-dll i installed in the same directory a the application).

Did you register it?
In order for your VB6 application to use it, the .Net Dll must be
registered, much like any other COM Dll. Simply putting the [.Net]
Dll in the same directory as the VB6 application is /not/ sufficient.

Also, does the other computer have the .Net Framework installed?

HTH,
Phill W.
 

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