Results 1 to 3 of 3

Thread: List file and dir in dot net ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2004
    Location
    Belgium
    Posts
    77

    List file and dir in dot net ?

    Hi,

    I'd like to know how I can to thing like get the number on file of a specified directory, or list file in this directory in VB .NET, when all FileList and other control have dessapeared.

    Thanks you

    PS: I think too many usefull control have disapear in .NET I am desappointed.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2004
    Location
    Prato - Tuscany - Italy
    Posts
    461
    I'm in a hurry at moment, so I can't be more useful, but you need to have a look at System.IO.......

    Example:
    system.IO.Directory.GetDirectories("c:\")

    It gives you a list of subdir in c:
    Good job
    Live long and prosper (Mr. Spock)

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2004
    Location
    Belgium
    Posts
    77
    Thanks

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