Reading and Writing textfile
Simple function to read and write file from vb.net
Copy this code and paste it in your HTML
Dim sr As New StreamReader("c:\TESINPUT.TXT")
Dim ws As New StreamWriter("c:\TESTOUTPUT.TXT", False)
Do While sr.Peek <> -1
ws.WriteLine(sr.ReadLine())
Loop
Report this snippet
Comments
Subscribe to comments