Dim TextWriter1 As TextWriter
TextWriter1.Initialize(File.OpenOutput(File.DirRootExternal, "Test.txt", True)) ' set last param to true to append to the existing file...
For i = 1 To 10
TextWriter1.WriteLine("Line " & i)
Next
TextWriter1.Close
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.