I wrote a simple VB.NET application. When the program, which writes a super-short text file to the desktop, is run from within Visual Studio, it runs just fine. However, when it is run by double-clicking the .exe file, this error appears: Unhanded exception has occurred... Access to the path "desktop" is denied.
I checked explorer and the security in the desktop folder appears to be set correctly. What on earth is wrong?
I checked explorer and the security in the desktop folder appears to be set correctly. What on earth is wrong?