Adding Directory selection to FileOpenDialog

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gregma

    Adding Directory selection to FileOpenDialog

    I hope this hasn't been covered a million times!! I have searched for
    alternatives to selecting a directory or multiple directories using
    FileOpenDialog, and haven't found anything like I need. I need the exact
    capabilities of FileOpenDialog, just with the added ability to add
    directories. I need the MultiSelect also! Has anyone added this
    functionality to the existing FileOpenDialog?

    Thanks!
    Greg
  • C# Learner

    #2
    Re: Adding Directory selection to FileOpenDialog

    gregma <gregma@spamhol e.com> wrote:
    [color=blue]
    >I hope this hasn't been covered a million times!! I have searched for
    >alternatives to selecting a directory or multiple directories using
    >FileOpenDialog , and haven't found anything like I need. I need the exact
    >capabilities of FileOpenDialog, just with the added ability to add
    >directories. I need the MultiSelect also! Has anyone added this
    >functionalit y to the existing FileOpenDialog?
    >
    >Thanks!
    >Greg[/color]

    For your information, there is a class called
    System.Windows. Forms.FolderBro wserDialog (1.1 only) which can be used
    to bring up a "Browse for Folder" dialog. However, as far as I know,
    this can only be used to select *single* folders.

    Comment

    • gregma

      #3
      Re: Adding Directory selection to FileOpenDialog

      C# Learner <csharp@learner .here> wrote in
      news:3i5g2054rl n35hiig1hbg871f vfphap320@4ax.c om:
      [color=blue]
      > gregma <gregma@spamhol e.com> wrote:
      >[color=green]
      >>I hope this hasn't been covered a million times!! I have searched for
      >>alternative s to selecting a directory or multiple directories using
      >>FileOpenDialo g, and haven't found anything like I need. I need the
      >>exact capabilities of FileOpenDialog, just with the added ability to
      >>add directories. I need the MultiSelect also! Has anyone added this
      >>functionali ty to the existing FileOpenDialog?
      >>[/color]
      >
      > For your information, there is a class called
      > System.Windows. Forms.FolderBro wserDialog (1.1 only) which can be used
      > to bring up a "Browse for Folder" dialog. However, as far as I know,
      > this can only be used to select *single* folders.
      >[/color]


      I am aware of FolderBrowserDi alog, but as you mentioned it does not allow
      multiple select, which I need.

      Thanks!
      Greg

      Comment

      • C# Learner

        #4
        Re: Adding Directory selection to FileOpenDialog

        gregma <gregma@spamhol e.com> wrote:
        [color=blue]
        >I am aware of FolderBrowserDi alog, but as you mentioned it does not allow
        >multiple select, which I need.
        >
        >Thanks!
        >Greg[/color]

        I think you'd have to create your own kind of dialog for this, in that
        case. Either that or use one someone else has already made for this
        purpose.

        Good luck.

        Comment

        Working...