-
FileSystemObject
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,
-
I know you posted a week ago; if you haven't figured it out yet:
Code:
Dim fso As Scripting.FileSystemObject
it just needs the 'Scripting' namespace to recognize it.
-
Thanks man, I did finally get it, but thanks for the reply. Good to know there is a place to ask questions.
-
Hi Striker,
Any chance you could give me a look at some of your .net filesystemobject code mate?