Good day Every one! I am having trouble with my application with shell32.dll. when i debug it in VS it runs well. but when I detach the .exe file and run it to other directory. I get errors.

I hope someone could help me. So much of a thanks in advance. Good day!

Could you possibly tell us what errors you are getting, or should we just guess?

Could not load file or assembly 'Interop.Shell32, Version= 1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


If put the dll beside the exe file, the exe file runs well. but if i detach the exe file and run it alone, the error shows.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.