G
Guest
Currently i am using the below coding to create a text file and write something on it.
Dim wfile As New System.IO.StreamWriter("c:\test.txt"
wfile.WriteLine("Hello" & vbcrlf & "Are" & vbcrlf & "You"
wfile.Close(
The text file content should be like thi
Hell
Ar
Yo
What if i want to insert "How" into the text file to modify the text file become like this.
Hell
Ho
Ar
Yo
Anyone can provide the coding on how to get the specific line in a text file and insert lines of text into the text file?Any help is greatly appreciated... Thanks..
Dim wfile As New System.IO.StreamWriter("c:\test.txt"
wfile.WriteLine("Hello" & vbcrlf & "Are" & vbcrlf & "You"
wfile.Close(
The text file content should be like thi
Hell
Ar
Yo
What if i want to insert "How" into the text file to modify the text file become like this.
Hell
Ho
Ar
Yo
Anyone can provide the coding on how to get the specific line in a text file and insert lines of text into the text file?Any help is greatly appreciated... Thanks..