Private Sub Command1_Click()
Dim x As String
Open "d:\123.txt" For Input As #1
x = StrConv(InputB(LOF(1), #1), vbUnicode)
Close #1
MsgBox Split(x, vbCr)(2) '第3行
End Sub
Private Sub Command1_Click()
Dim s
Dim ls_Content
Open "f:\readme.txt" For Input As #1
s = StrConv(InputB(LOF(1), #1), vbUnicode)
Close #1
ls_Content = Split(s, chr(13))
MsgBox ls_Content(2)'读第二行
End Sub