读文本文件问题:输入超出文件尾
Private Sub Form_Load()
Open "d:\ftdata\flute.txt" For Input As #1
Do While Not EOF(1)
Line Input #1, notetxt$
Line Input #1, note1$‘报错,输入超出文件尾
Line Input #1, note2$
Line Input #1, note3$
Loop
note.Text = notetxt
num1.Text = note1
num2.Text = note2
num3.Text = note3
Close #1
End Sub