How can I write some text to file named "test.txt"
Good afternoon everybody!
Sorry for my lousy english.
I really hope someone can help me. I'm a beginner who needs help. I have a project and I need to save some information to a text-file. How can I do that. I know there are some
Open "something" For Output As #1
and so on, but I don't know how to use them right.
Please, HELP
Micahel
Re: How can I write some text to file named "test.txt"
dim hFile as integer
hFile = freefile
open "yourfile" for output as #hFile
print #hFile, "yourstring"
close hFile