need help!? read and write (txt)
hi i have a litte problem xD
i like to write something in a txt file.. for read i have this code:
someone know the code for write? can someone show me please!?
i like to write something in a txt file.. for read i have this code:
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Linie() As String = IO.File.ReadAllLines("C:\lol.txt")
TextBox1.Text = Linie(0) & vbNewLine
TextBox2.Text = Linie(1) & vbNewLine
End Sub
End Class
