Hi, all!
How do I open a directory selection dialog using c#?
Thanks in advance
Printable View
Hi, all!
How do I open a directory selection dialog using c#?
Thanks in advance
string []str = Directory.GetFiles("C:\\","*.jpg");
Ah ,
not the previous one,
OpenFileDialog d = new OpenFileDialog();
d.ShowDialog();
Hi!
Thx a lot, but I think you open FileDialog, but I need a DIRECTORY selection Dialog
Thx
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
Yep, I found it!
System.Windows.Forms.FolderBrowserDialog
yes its there in 1.1 but unfortunately 1.0 doesn't have it.
glad u found it.
Paresh;)