|
-
Jun 9th, 2000, 09:59 AM
#1
Thread Starter
Junior Member
I've been trying to use the FileSystemObject to do things like move and delete files but when I do this:
Dim fso As New FileSystemObject
and then try to use it, I get a compile error and vb says that it didn't recognize the new user-defined object.
Can anyone help?
DoubleDown
----------------------------------------
"Who's the big winner here tonight? ...
Mikey!! That's who. Mikeys the big winner"
-
Jun 9th, 2000, 12:12 PM
#2
You either have to add a reference to the Scripting RunTime thing or declare it like so
Set fs=CreateObject("Scripting.FileSystemObject")
-
Jun 9th, 2000, 12:32 PM
#3
Thread Starter
Junior Member
Thanks that helped
I just had to select a check box in the project dialog box to include the scripting run-time dll.
DoubleDown
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
|