I need a OpenDirectoryDialog, just like OpenFileDialog

  • Thread starter Thread starter Yanni
  • Start date Start date
Y

Yanni

Hi,
just like the title, I want to provide a dialog for the user to select a
folder, but it's very strange that there isn't a OpenDirectoryDialog
component.

how can I do this ?

Thanks.
 
In the article I wrote about Smartphone files
(http://msdn2.microsoft.com/en-us/library/Aa446567.aspx) I include the
source for a FolderBrowserDialog, you can modify this slightly if you want
to optimise it for Pocket PC also. Windows Mobile doesn't include the
underlying native folder browser API which is used by the desktop
FolderBrowserDialog.

Peter
 
This really helps me, Thank you.

Peter Foot said:
In the article I wrote about Smartphone files
(http://msdn2.microsoft.com/en-us/library/Aa446567.aspx) I include the
source for a FolderBrowserDialog, you can modify this slightly if you want
to optimise it for Pocket PC also. Windows Mobile doesn't include the
underlying native folder browser API which is used by the desktop
FolderBrowserDialog.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility
 
Back
Top