|
-
March 28th, 2003, 06:51 PM
#1
Open a directory selection dialog using c#
Hi, all!
How do I open a directory selection dialog using c#?
Thanks in advance
-
March 28th, 2003, 07:11 PM
#2
string []str = Directory.GetFiles("C:\\","*.jpg");
- Software Architect
-
March 28th, 2003, 07:13 PM
#3
Ah ,
not the previous one,
OpenFileDialog d = new OpenFileDialog();
d.ShowDialog();
- Software Architect
-
March 31st, 2003, 12:40 PM
#4
Hi!
Thx a lot, but I think you open FileDialog, but I need a DIRECTORY selection Dialog
Thx
-
March 31st, 2003, 04:40 PM
#5
do you have .NET 1.1 Framework,
then you have a folder option dialogbox there. since in .NET 1.0 you have to do it with using API's .
Paresh
- Software Architect
-
March 31st, 2003, 05:58 PM
#6
Yep, I found it!
System.Windows.Forms.FolderBrowserDialog
-
March 31st, 2003, 06:11 PM
#7
yes its there in 1.1 but unfortunately 1.0 doesn't have it.
glad u found it.
Paresh
- Software Architect
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|