I'm using Access97 but can't find the answer in those forums, this is mainly a Visual Basic question.
How do I create a blank file?
Right now I am using.
Open "test.txt" as input for #1
'read the data in.
close #1
the problem is it crashes if text.txt doesn't exist....how
do I create a file on the fly? I would have thought the Open
command should do it automatically.. C++ does.
so to get around it I Have had to manually make the files with Notepad...however this wont work forever because it needs to create files on the fly.
QUESTION #2...how can I check if a file is blank?
Thanks
How do I create a blank file?
Right now I am using.
Open "test.txt" as input for #1
'read the data in.
close #1
the problem is it crashes if text.txt doesn't exist....how
do I create a file on the fly? I would have thought the Open
command should do it automatically.. C++ does.
so to get around it I Have had to manually make the files with Notepad...however this wont work forever because it needs to create files on the fly.
QUESTION #2...how can I check if a file is blank?
Thanks