Results 1 to 6 of 6

Thread: File System Object

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    I have had some problems with using the FileSystemObject class, i got an app of the net that it to get files and folders off your computer and show them in a treeview, i would like to do something similar except if i add this:

    Dim FSys As FileSystemObject

    To my project i get an error, am i meant to add this class to my project somehow ?

    P:S On my VB toolbar where the Run,Pause,Stop buttons are my stop button has dissapeared, how can i get it back/

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    This shows you how to use the FileSystemObject:http://msdn.microsoft.com/library/de...stemObject.htm

    PS.Is your name Rich?

  3. #3
    Guest
    you will have to add a refernce to the FSO in the project menu, then declare the variable again.

    Dim FSys AS NEW FileSystemObject

    dunno about the stop button though!

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    Yeah im Richard.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    It works for me now but if i try to add reference i get "Error Loading DLL", but what the heck it works be creating the object like ms say.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    What am i meant to add refernce to ?

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