- 晕了
- Dim byt() As Byte, length As Long
- Open "TESTFILE" For Binary As #1 ' 打开输入文件。
- ReDim byt(LOF(1) - 1)
- Get #1, , byt
- dim strT as string,strArr() as string
- strT= StrConv(byt, vbUnicode) ' 在立即窗口中显示数据。
- strarr=split(strT," ")
- msgbox strarr(0) & " :" & strarr(1)
- Close #1 ' 关闭文件。
|