I am trying to use the filesystemobject which I haven't used for quite sometime now. I forget what library this object resides in. Is it under "references" or "components" and what is the name of the object library?
Thanks,
Blake
Printable View
I am trying to use the filesystemobject which I haven't used for quite sometime now. I forget what library this object resides in. Is it under "references" or "components" and what is the name of the object library?
Thanks,
Blake
References->Microsoft Scripting Runtime.
its in References >> Microsoft Scripting Runtime (And incase you were wondering its in a dll file named Scrrun.Dll)
Or, you can use the CreatObject function like so:
VB Code:
Dim FSO As Object Set FSO = CreateObject("Scripting.FileSystemObject")
Cheers,
RyanJ
Indeed you can, but it is slower and also you don't get any of the IntelliSense code menus in the IDE, because the link is made at runtime.Quote:
Originally Posted by sciguyryan
Thank bro...I appreciate it!