i am right clicking on the project in Solution explore, and trying to add a reference. In the reference window, under the browse tab, i try to add a reference to my dll. I have also copied that dll into the project directory. But when i select the dll and click on ok i get a message box saying"A reference to the dll could not be added. Make sure the file is accessible, and it is a valid assembly or COM component"
The dll was made in VC++ 6.0
Does vb.net not support simple dlls?? or am i doing something wrong??
I've had no problems using a VB6 DLL in my project.
Is this a web application that you're working with?
It sounds like you have a permissions problem. I'd suggest moving the DLL to a folder where permissions are set to allow your program to use the DLL..then re-referencing the DLL into your project.
I've had problems in the past where my web user account was not given permissions to use the DLL...it wouldn't work properly until I moved it to a directory that gave my program permissions to use it.
Cheers!
-Frinny