Getting Information about Directory/Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • programmerboy
    New Member
    • Jul 2007
    • 84

    Getting Information about Directory/Files

    It is been a long time since I have coded something really sleek. And now I am forgetting all the code. I am using VB to try to connect to a directory on another server so I can access its data/files. Can any one please let me know which referrence I need to include? Also, it will be great if you can provide a small code snippet of connecting to a directory on a different server (I know UNC path will be used) and getting its data like how many files, folders, size of directory etc. I am using VS 2005.
    Thanks
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Try these objects:
    Directory
    File
    DirectoryInfo
    FileInfo

    Comment

    Working...