FSO怎么这么多问题啊
已经引用了MSR我编写下面代码Private Sub Command1_Click()
Dim fso As New FileSystemObject, fil As File
Set fil = fso.Createfile("d:\11.txt")
End Sub
提示未找到方法或数据成员
但是我写下面的代码的时候就成功了:
Private Sub Command1_Click()
Dim fso As New FileSystemObject, fldr As folder
Set fldr = fso.Createfolder("d:\11")
End Sub
下面的代码 明明提示出现了错误“类型不匹配”为什么还建立成功了?
Private Sub Command1_Click()
Dim fso As New FileSystemObject, fldr As File
Set fldr = fso.CreateTextFile("d:\11.txt")
End Sub
请问我的问题出现在那里?