vb中,seek指针知道一个位置,怎么把指针前的内容读出来?

2020-05-04 社会 62阅读
Private Sub Command1_Click()
Dim a As String, b As String
Open "C:\Documents and Settings\user\桌面\新建 文本文档.txt" For Input As #1
While Not EOF(1)
Input #1, a
b = b + a
Wend
s = Left(b, seek指针)
Print s
Close #1
End Sub
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com