Write and Read Specific Lines in a Text File, instead of having to make one line for each file, lea
Write and Read Specific Lines in a Text File, instead of having to make one line for each file, learn to store all your data in one file!!!
Rate Write and Read Specific Lines in a Text File, instead of having to make one line for each file, lea
(2(2 Vote))
Open "c:\a.txt" For Output As #1
Print #1, "abc"
Print #1, "123"
Print #1, "aaaaaa"
Close #1
End Sub
Private Sub Command2_Click()
Open "c:/a.txt" For Input As #1
Line Input #1, x
Line Input #1, y
Line Input #1, z
Text1.Text = x
Text2.Text = y
Text3.Text = z
Close #1
End Sub
Write and Read Specific Lines in a Text File, instead of having to make one line for each file, lea Comments
No comments yet — be the first to post one!
Post a Comment