/ Published in: VB.NET
Simple function to read and write file from vb.net
Expand |
Embed | Plain Text
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 sr.Close() ws.Close()
You need to login to post a comment.
