Plz Help create text file

vbnoob

Member
Joined
Mar 3, 2005
Messages
11
Programming Experience
1-3
I NEED to know how to create a .txt file
then open it and write to it

plz

i can create the file but i need to read and write to it
 
Last edited by a moderator:

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
dim writer as new io.streamwriter ("DIR")
writer.writeline("sometext")
Writer.close

dim reader as new io.streamreader ("DIR")
dim FileText as string
FileText = reader.readline / .ReadToEnd
reader.close
 
Top Bottom