CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Question browse folders and files

    hi all

    i am try to browse folder and files in common dialog that will show only folder or files both in a same panel but i wish to show all folders and its file on a same window separately....i means when user click on a folder list view then files are show on a 2nd listview

  2. #2
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487

    Re: browse folders and files

    i would suggest the standard look and features of OpenFileDialog/FileDialog than creating your own custom browser through form and other controls. Unless you would want to introduce a new feature that is not present on the standard OpenFileDialog.
    Busy

  3. #3
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Exclamation Re: browse folders and files

    I want to use" file open dialog" and "folder open dialog" in same window ..is it possible..
    have you send me any example

  4. #4
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487

    Re: browse folders and files

    IMO, that is not possible.

    no, i am not yet sending any sample codes. i am just trying to know first what's your purpose of showing both file and folder browser dialog to the user at the same time, as the former defeats the purpose of the latter.

    are you planning to create a windows-explorer-like browser?
    Busy

  5. #5
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Re: browse folders and files

    ya like "windows-explorer" and when user click OK button then get all files in that folder...

  6. #6
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Re: browse folders and files

    you can see image like this
    http://images.google.com.pk/imgres?i...%3Den%26sa%3DN
    but some functionalities are not require like tool bar,cool bar,status bar menu etc

  7. #7
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487

    Re: browse folders and files

    what version of vb.net are you using? do you have the SDK?

    or refer to this link:

    http://social.msdn.microsoft.com/Sea...ery=FileViewer

    hth
    Busy

  8. #8
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Re: browse folders and files

    i am using vb.net 2008

  9. #9
    Join Date
    Dec 2004
    Location
    Pakistan(Skardu)
    Posts
    64

    Re: browse folders and files

    I found a article but it is showing error

    http://www.codeproject.com/KB/cpp/VbNetExpTree.aspx

  10. #10
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: browse folders and files

    What do you expect ¿ That article is not for VB.NET

    Have a look at the VB.NET FAQ's here on CodeGuru / or Search CodeGuru, there you'll find an FAQ entitled Windows Explorer Application. That would give you a better picture...

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

Featured