怎么去调用指定目录下的文本的所有内容
C:\Documents and Settings\Administrator\桌面\abcd\abcd
在这目录下有个WZ.TXT
怎么读取呢?
[解决办法]
open "目录\wz.txt " for input as #文件号
[解决办法]
拷贝一段代码给你
Private Sub Command2_Click()
Open "aa.txt " For Binary As #1
Text1.Text = Input(LOF(1), 1)
Close #1
End Sub