Hi
I am currently writing code to read and write certain labels and textboxes.
The code for the save button works fine:
Dim savef As New System.IO.StreamWriter("c:/text.txt")
Text savef.Write(TextBox1.Text + ControlChars.NewLine + Textbox2.Text + controlChars.NewLine + label2.Text)
savef.Close()
I need to have a load feature, here is my start but i am confused and need someone to complete the code for me, so textbox1 has line 1's value in it and line 2 textbox 2 etc:
Dim loadf As New System.IO.StreamReader("c:/text.txt")
loadf.ReadLine(1)
loadf.Close()
HELP PLEASE THIS IS URGENT
THANKS,
LUKE