|
-
May 11th, 2005, 10:01 AM
#1
Thread Starter
PowerPoster
What library does filesystemobject reside in?
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
-
May 11th, 2005, 10:14 AM
#2
Re: What library does filesystemobject reside in?
References->Microsoft Scripting Runtime.
-
May 11th, 2005, 10:15 AM
#3
Re: What library does filesystemobject reside in?
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
-
May 11th, 2005, 10:19 AM
#4
Re: What library does filesystemobject reside in?
 Originally Posted by sciguyryan
Or, you can use the CreatObject function like so:
VB Code:
Dim FSO As Object
Set FSO = CreateObject("Scripting.FileSystemObject")
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.
-
May 11th, 2005, 10:19 AM
#5
Thread Starter
PowerPoster
Re: What library does filesystemobject reside in?
Thank bro...I appreciate it!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|