PDA

Click to See Complete Forum and Search --> : FileSystemObject


Striker
Aug 7th, 2001, 09:30 AM
Has anyone used the FileSystemObject with .Net yet? I tried adding a reference, selecting COM, and clicking on Microsoft Scripting Runtime, but when I tried to declare my object like this:
Dim FSO as New FileSystemObject, the object wasn't recognized. Do I have to use the new File methods or is there a way for me to use the FileSystemObject?

Thanks,

healy
Aug 15th, 2001, 11:37 AM
I know you posted a week ago; if you haven't figured it out yet:

Dim fso As Scripting.FileSystemObject

it just needs the 'Scripting' namespace to recognize it.

Striker
Aug 15th, 2001, 11:49 AM
Thanks man, I did finally get it, but thanks for the reply. Good to know there is a place to ask questions.

mick lennon
Jan 10th, 2002, 05:12 AM
Hi Striker,
Any chance you could give me a look at some of your .net filesystemobject code mate?