Announcement

Collapse
No announcement yet.

OpenFileDialog for Path Only?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OpenFileDialog for Path Only?

    I have a need to use something like the openfiledialog to allow the user to select a path only. The do not need to select a file just a path. I don't want to deal with the tree view and was hoping there was something quick and dirty like the openfiledialog that I could use..

    Basically, there is a button "Search Path" and when they click it I want them to be able to browse all the paths and select a valid path..

    Thanks
    Last edited by Douglas C. Horner; 22 May 2009, 11:49 PM.
    There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance - that principle is contempt prior to investigation.

    Herbert Spencer

  • #2
    That is what the BrowseFolder dialog is for. Use that instead of the open file dialog.
    Chris Boss
    Computer Workshop
    Developer of "EZGUI"
    http://cwsof.com
    http://twitter.com/EZGUIProGuy

    Comment


    • #3
      Originally posted by Chris Boss View Post
      That is what the BrowseFolder dialog is for. Use that instead of the open file dialog.
      Browsed right past that one.. Thanks Chris..
      There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance - that principle is contempt prior to investigation.

      Herbert Spencer

      Comment

      Working...
      X