Reads and Writes to Different Lines in a Text File so you can put all of your Data into one Text Fi
Reads and Writes to Different Lines in a Text File so you can put all of your Data into one Text File and not need to create multiple Text
Rate Reads and Writes to Different Lines in a Text File so you can put all of your Data into one Text Fi
(1(1 Vote))
Dim x As String
Dim y As String
Private Sub Command1_Click()
Open "c:/text.txt" For Input As #1
Line Input #1, x
Line Input #1, y
Close #1
Text1.Text = x
Text2.Text = y
End Sub
Private Sub Form_Load()
Open "c:/text.txt" For Output As #1
Print #1, "your first line of text"
Print #1, "your second line of text"
Close #1
End Sub
Reads and Writes to Different Lines in a Text File so you can put all of your Data into one Text Fi Comments
No comments yet — be the first to post one!
Post a Comment