zimGirl
Geotechnical
- Jul 22, 2004
- 30
Code:
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(dlgMain.FileName)
Set a = f.OpenAsTextStream(varFileNum)
Hey guys,
When I open a file as a textstream (Code above) and hit the (X) to close the form and
exit program before using it in the program (Not Graceful exit), It erases the text
in the file and I get a blank file left over. (same name)
Is there something I am not doing at the end. Why does it erase the text in the file?