Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

write to file

Status
Not open for further replies.

vlitim

Programmer
Sep 2, 2000
393
GB
I am using the below code to write to a file but it doesn't seem to do anything at all!?!? WHY?

Open "help.txt" For Output As #1
Print #1, "tim", "work"
Close #1
 
Try to substitute the , between the strings by ;
I don't know if it's this, but the syntax is like that...
 
try and use the '&' between 2 strings. It should work fine, i think the file will be wrote into the vb app directory by the way, thats because no path is specified with the file name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top