Browsing subfolders in OpenFileDialog / SaveFileDialog

  • Thread starter Thread starter Robert Janik
  • Start date Start date
R

Robert Janik

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.
 
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
 
Back
Top