By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,501 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

Adding Directory selection to FileOpenDialog

P: n/a
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
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
gregma <gr****@spamhole.com> wrote:
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


For your information, there is a class called
System.Windows.Forms.FolderBrowserDialog (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.
Nov 15 '05 #2

P: n/a
C# Learner <cs****@learner.here> wrote in
news:3i********************************@4ax.com:
gregma <gr****@spamhole.com> wrote:
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?


For your information, there is a class called
System.Windows.Forms.FolderBrowserDialog (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.

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

Thanks!
Greg
Nov 15 '05 #3

P: n/a
gregma <gr****@spamhole.com> wrote:
I am aware of FolderBrowserDialog, but as you mentioned it does not allow
multiple select, which I need.

Thanks!
Greg


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.
Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.