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 Chriss Miller 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
Oct 17, 2001
106
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top