Dim MyFile As IO.StreamWriter
MyFile = New System.IO.StreamWriter("c:\test.txt", True) True for appending
MyFile.WriteLine("THIS IS A LINE OF TEXT") Write text to file
MyFile.WriteLine("THIS IS ANOTHER")
MyFile.Close() Close file
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.