-
Hi!,
I open a file in binary access and close it before I exit in my app. But when the app. is stopped in between for debugging it cannot write to that file again as it says permission denied as some other process is using it. But the fact is no one is using it. So everytime I have to change the name of the file to write temp results and it is real pain. Can anybody please tell me how to get around this problem, so that I do not have to change name of my temp file everytime.
Thanks for your help.
-
Not sure what you meant but: When you open the file in binary, you have to close it before any other app can make changes to it. If you are debugging in the section between the Open and Close then something odd may happen, I don't know what. But you can always close the file in the immediate window. Close #1 or whatever..