Results 1 to 5 of 5

Thread: displaying folders & files

  1. #1
    JuggaloBrotha's Avatar
    JuggaloBrotha is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Lansing, MI; USA
    Posts
    4,322
    Reputation
    959

    displaying folders & files

    short and simple, i'm going to make an FTP client and i was wondering, what type of control(s) would be best for displaying the folders & files on both the local computer and the ftp server?

    in the open/save file dialogs it has the white window with icons and names and all that displayed all pretty like and i was kind of thinking of trying to make something like that

    any ideas? any articles on displaying folders and files?
    Currently using: VS 2010 Ultimate on Win7 Ultimate x64.


  2. #2
    vinjaya is offline VB.NET Forum Enthusiast
    .NET Framework
    Join Date
    Sep 2005
    Location
    Sri Lanka
    Posts
    35
    Reputation
    96
    For FTP like client ListView control will be the best option

  3. #3
    JuggaloBrotha's Avatar
    JuggaloBrotha is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Lansing, MI; USA
    Posts
    4,322
    Reputation
    959
    alright, i'll give it a try, thanx for the input

    if anyone else has any suggestions fell free to post them
    Currently using: VS 2010 Ultimate on Win7 Ultimate x64.


  4. #4
    Paszt's Avatar
    Paszt is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Raleigh, NC - USA
    Posts
    1,502
    Reputation
    308
    I would suggest using the TreeView control since the folders & files use a tree type hierarchy.
    Here is a link to an article regarding Displaying the directory tree using the TreeView control in VB.NET. This articles shows how to display the folders for the C Drive, but you should get the idea.
    — Stephen Paszt

  5. #5
    JuggaloBrotha's Avatar
    JuggaloBrotha is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Lansing, MI; USA
    Posts
    4,322
    Reputation
    959
    i've actually decided to use a ListView for this as they're more user friendly IMO.

    once i get it all working and as complex as the Open/Save File Dialogs i'll post it here for others to use
    Currently using: VS 2010 Ultimate on Win7 Ultimate x64.


Bookmarks

Posting Permissions

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