473,407 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

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
Nov 15 '05 #1
3 10185
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: a_rybicki | last post by:
"Hi - I'm experiencing something strange when I call a FileOpenDialog from a dialog box in my application (Borland C++ 6). Basically, here's the scenario: - Open my own child dialog from the...
4
by: Michael Grosse | last post by:
I've conquered a very strange behaviour that I cannot account for logically and therefore seek help in this Discussion Group. I'm currently developing 2 applications and intend to use the standard...
13
by: Mark Kamoski | last post by:
Hi Everyone-- How can one to make a "select directory name" dialog? It would be great if one could use the FileOpenDialog but it does not seem to be straight-forward. Anyway, if you have...
2
by: AussieRules | last post by:
Hi, Is it possible to add a text box to capture some extra data in the fileopendialog control. If not, is it is to mock up a copy of it ?
3
by: barbara_dave | last post by:
Hi, all, I like to know to how to set fileopendialog inital directory to "MyComputer". Thanks
0
by: Matt | last post by:
Hi, I am looking for an Active Directory object selection for ASP.net 2. My ASP.net page has a text field to enter a user's or computer's LDAP path directly. And a "Find..." button that shall...
0
by: Terry | last post by:
In short, I'm getting an IOException "Directory is not empty" if I have a Windows Explorer window open and have a subdirectory selected in the tree view. For example, I have a directory path of...
0
by: desigeek | last post by:
I have an issue regarding wanting to put a Browse button on web page that will allow a user to select a directory path....not a file.....on their local machine. That selected directory path then...
0
by: shamshujjuhah | last post by:
I am using the following code to open file. Now I want to position the fileopen dialog to the centre of screen. Can someone tell me how can I acheive this? code: -------------- OpenFileDialog...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.