level of depth with openFileDialog

  • Thread starter Thread starter André Buck
  • Start date Start date
A

André Buck

Hi,

I created a openFileDialog which works fine.

But ...when I opened the fileDialog, it only shows me files within the
folders which are not deeper than one folder in the "My Documents" folder.

Question:
How can I get access to files in "every" folder on my device?*
(files within the "My Documents" would be enough - but with more levels of
depth)

Thanks ... André

* That is not a specific CF question, but maybe once you had have the same
problem ...
 
This is the standard behaviour on Pocket PC, on other Windows CE.NET
platforms there isn't this restriction.
The only way to provide browsing to other areas of the file system is to
implement your own UI, you can use the System.IO.Directory.GetFiles method
to return all files within a particular folder, then display these in a
ListBox for examples.

Peter
 
Back
Top