Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use VB.Net component in vb6

Status
Not open for further replies.

deulyd

Programmer
Joined
Oct 17, 2001
Messages
106
Location
CA
Hi I created a simple stupid Class Library dll in VB.Net but I can't find the way to use it with VB6.

I checked the "Register for COM Interop" in the project properties. I run the project and it creates the dll in my \bin folder.

With VB6, I tried the following :

- Add a reference to the dll by browsing it. Error : Can't add a reference to the specified file.

- Use the CreateObject function. Error : Automation Error, cannot create file when that file already exists.


Is it possible to use a .net component in VB6? :(

Thanks

Daniel
 
Have a look at thread796-1054241

 
I just ran across this thread796-877895 as well.
 
Try this


or search PCS for VBCorLib v1.0


Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top