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