在下是刚学VB,想请教一些问题
Private Sub File1_Click()
Dim strinbuf As String
Dim strprefile As String
Txtpreview.Text = ""
strpreview.Text = file.Path + "\" + file.FileName
Open strprefile For Input As #1
Do While Not EOF(1)
Line Input #1, strinbuf
Txtpreview.Text = Txtpreview.Text + strinbuf
Loop
Close #1
End Sub
这段程序谁能帮解释一下。谢谢!