Thank You Very Much Indeed.
Quote:
I believe I had that problem as well. It would give me a file not found error. To solve it, I did this:
Open "MYFILE.txt" For Random As #Freefile
Close #Freefile
Open "MYFILE.txt" For OutPut As #Freefile
blah blah blah
This would open the file and close it immediately then open it again. The cool part is that if you open it random, then it will create the file if it doesn't exist. Thus, if it exists, great. If it doesn't, it will be created, closed, then opened again for output.
That is the solution. You save me a lot of time.
Thank You Very Much Indeed.
Quote:
I believe I had that problem as well. It would give me a file not found error. To solve it, I did this:
Open "MYFILE.txt" For Random As #Freefile
Close #Freefile
Open "MYFILE.txt" For OutPut As #Freefile
blah blah blah
This would open the file and close it immediately then open it again. The cool part is that if you open it random, then it will create the file if it doesn't exist. Thus, if it exists, great. If it doesn't, it will be created, closed, then opened again for output.
That is the solution. You save me a lot of time.