Results 1 to 4 of 4

Thread: FileSystemObject

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    2

    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,

  2. #2
    New Member
    Join Date
    Aug 2000
    Location
    Denver, CO
    Posts
    10
    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    2
    Thanks man, I did finally get it, but thanks for the reply. Good to know there is a place to ask questions.

  4. #4
    Lively Member
    Join Date
    Nov 2000
    Location
    Ireland
    Posts
    99
    Hi Striker,
    Any chance you could give me a look at some of your .net filesystemobject code mate?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width