ActiveX 部件不能创建对象??
程序如下:
运行时提示脚本发生错误:
ActiveX 部件不能创建对象'Scripting.FileSystemObject'! 是什么问题?
sub SaveFile(str,fName)
Dim fso, tf
Set fso = CreateObject("Scripting.FileSystemObject")
Set tf = fso.CreateTextFile(fName, True)
tf.Write str
tf.Close
exewin()
End sub