Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Browsing subfolders in OpenFileDialog / SaveFileDialog

67 views
Skip to first unread message

Robert Janik

unread,
May 13, 2006, 10:50:19 PM5/13/06
to
Hi,

Is it possible to use OpenFileDialog / SaveFileDialog in Compact Framework
to open subfolders?
I was trying to set InitialDirectory property to \My
Documents\MainFolder\SubFolder, but it looks like filedialog supports only
one level of folders in "My Documents". I also tried MainFolder\SubFolder,
but with the same result. OpenFileDialog will show only "MainFolder", but
I'm unable to set InitialDirectory to "SubFolder" or browse manually into
this folder. I cannot see subfolders in the list along with files.
Could I set InitialDirectory to "SD Card\MainFolder\SubFolder"?
Should I create my own dialog which would support this functionality?

Thanks.


Peter Foot [MVP]

unread,
May 14, 2006, 6:01:30 AM5/14/06
to
This is a platform limitation on Windows Mobile. You cannot change the
InitialDirectory used by the dialog. Also it supports only 1 subfolder deep
from My Documents or the root of the Storage Card.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"Robert Janik" <robert...@hotmail.com> wrote in message
news:u9ZxiEwd...@TK2MSFTNGP03.phx.gbl...

0 new messages