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.

Re: I need a OpenDirectoryDialog, just like OpenFileDialog by Peter

Peter
Sat Nov 24 03:52:22 PST 2007

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

"Yanni" <Yanni@discussions.microsoft.com> wrote in message
news:C8E3183C-5FB2-485C-8E7E-5CA53357969D@microsoft.com...
> 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.


Re: I need a OpenDirectoryDialog, just like OpenFileDialog by Yanni

Yanni
Sun Nov 25 20:14:01 PST 2007

This really helps me, Thank you.

"Peter Foot [MVP]" wrote:

> 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
>
> "Yanni" <Yanni@discussions.microsoft.com> wrote in message
> news:C8E3183C-5FB2-485C-8E7E-5CA53357969D@microsoft.com...
> > 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.
>