I'm trying to store/save some info in files..but if
the file doesn't exist yet then when I do,
Open "test.txt" for input as #1
gives me an error if test.txt doesn't exist...in C++ the open command creates the file if its not already there..how do I do this in VB?
Thanks, its probably simple but I cant get it to work..the
help files say that if you set it to Append, Binary, Output, or Random it will create a new file if it doesn't exist.. I tried Open "test.txt" for output as #1 and still got a pathname crash.
the file doesn't exist yet then when I do,
Open "test.txt" for input as #1
gives me an error if test.txt doesn't exist...in C++ the open command creates the file if its not already there..how do I do this in VB?
Thanks, its probably simple but I cant get it to work..the
help files say that if you set it to Append, Binary, Output, or Random it will create a new file if it doesn't exist.. I tried Open "test.txt" for output as #1 and still got a pathname crash.