Error while loading a reference

Hi,

I have a problem I can't solve. I use VB.NET project and I use VS.NET 2003 problem.

I have added a .dll reference to my project. Then I closed the project without saving and then started it again. When I try to add the reference again it gives an error message:

A reference to 'theref.dll' could not be added. Could not load the type library. Error loading type library/DLL.

Does anyone have any ideas?

/M

[452 byte] By [Mortsdeh] at [2007-12-24]
# 1

check if the added dll has any dependencies..

it yes put them in a sep folder.

add this folders path to environment variable Path

then it should load the dll.

Y2KPRABU at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...