瑞风s3轮胎型号:DLL 中如何定义 Fso

来源:百度文库 编辑:中科新闻网 时间:2024/05/04 11:30:26
Public Fso As New FileSystemObject

Set Fso = New scripting.FileSystemObject()

这样写对吗?
Public Fso As FileSystemObject

但是这里显示 用户定义类未定义

Public Fso As FileSystemObject

Set Fso = New FileSystemObject

DLL中定义FSO和别的地方定义FSO方法上难道有差别么?望高手教我~
不过楼上的写法肯定是对的。