By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,213 Members | 2,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,213 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Nijazi Halimaji" <sp***@gmx.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.