比如说编一个简单的录入、显示:
Dim a As String
Dim b As String
Private Sub Command1_Click()
Open "C:\Documents and Settings\Administrator\桌面\cc.txt" For Input As #1
Do While Not EOF(1)
Line Input #1, a '将一行字符存入a里面
b = b & a
Loop
Close #1
Label1 = b
End Sub
但是显示出来的汉字都是乱码,英文还是英文。这是怎么回事呢?