I have a dll (xxx.dll) that was written for use with vb6. I don't have the source for it, and the publisher doesn't want to touch it.
I am able to access this fine from vb6. I tried to add it to a vb.net program, but when I try to add the reference to it (Add Reference -> Browse) I get:
"A reference to c:\windows\system32\xxx.dll could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."
I also tried to register the dll with regsvr32 and got an error about "DllRegisterServer entry point was not found"
An example of how this dll is used in the vb6 program is:
Public Declare Sub SetDataFeedhwnd Lib "XXX.DLL" (ByVal hwnd As Long)
I really do need to get this to work, and I'm pretty much a beginner at vb.net.