裸色长裙:ASP DLL 中如何定义 Fso
来源:百度文库 编辑:高考问答 时间:2024/05/04 07:53:08
Public Fso As New FileSystemObject
Set Fso = New scripting.FileSystemObject()
或
Public Fso As FileSystemObject
Set Fso = New FileSystemObject
这样写对吗?
但是都显示 用户定义类未定义
工程--->引用 添加 Microsoft Scripting Runtime
不用定义 Public Fso As FileSystemObject 等了吗?
Set Fso = New scripting.FileSystemObject()
或
Public Fso As FileSystemObject
Set Fso = New FileSystemObject
这样写对吗?
但是都显示 用户定义类未定义
工程--->引用 添加 Microsoft Scripting Runtime
不用定义 Public Fso As FileSystemObject 等了吗?
工程--->引用
添加 Microsoft Scripting Runtime