Environmental variable PATH for vb.net
I am building an executable which is dependent on a class library dll. Now after I build the executable I try to move the executable to a new directory and try to execute it. It complains that class library dll is not found. I tried to use the system environmental variable PATH to point to the class library dll. Still it doesn't work? Can we not use system environmental variable PATH for this purpose?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Oct 24, 2006, 10:24 PM EDT
The dll should be in the bin folder; this call points to that:
Application.StartupPath
If you have moved the dll, you might want to remove it from the project and add the dll again.