VB Code:
Private Sub cmdSave_Click()
Open Myfile.txt For Output As #1
Print #1, Text1.Text
Print #1, Text2.Text
Print #1, Text3.Text
Print #1, Text4.Text
Print #1, Text5.Text
Print #1, Text6.Text
Print #1, Text7.Text
Print #1, Text8.Text
Close #1
End Sub
Private Sub Form_Load()
Dim temp As string
Open Myfile.txt For Input As #1
Input #1, temp
Text1.Text = temp
Input #1, temp
Text2.Text = temp
Input #1, temp
Text3.Text = temp
Input #1, temp
Text4.Text = temp
Input #1, temp
Text5.Text = temp
Input #1, temp
Text6.Text = temp
Input #1, temp
Text7.Text = temp
Input #1, temp
Text8.Text = temp
Close #1
End Sub