Could I ask you for an advice, please?
I'm writing a Windows Application in C# VS 2003 .Net. The main purpose of the application is to switch folders. I will explain how it works below. When I run the application, click one button, it works. But when I click on some another button, it writes me this error:
"An unhandled exception of type "System.IO.IOException" occurred in mscorlib.dll. Additional information: The process cannot access the file "Data/DataSource/ver1.txt" because it is being used by another process."
exe/Data/DataSource/ver1.txt (ver1-3.txt) - the verX.txt tells the application which version (folder1-3) is renamed to Data/Work
exe/Data/Work - /folder1 is currently renamed to Work
If I press button1, run method button1();
If I press button2, run method button2();
If I press button3, run method button3();
run method deactivateVersion()
View Complete Post