OpenFileDialog in Smartphone

  • Thread starter Thread starter Pocket Rocket
  • Start date Start date
P

Pocket Rocket

The OpenFileDialog class that is available in the Compact Framework does not
seem to work in Smartphone. It throws a NotSupportedException. If I were
to let the user select a file in the Smartphone application, how would I
accomplish that?
Thanks.

PR
 
Smartphone does not have any CommonFileDialogs unlike Pocket PC and other
Windows CE platforms. Therefore you'll have to write your own custom
implementation using System.IO functionality to list files in a specific
folder. I'm working on this and related topics for an upcoming article...

Peter
 
Peter Foot said:
Smartphone does not have any CommonFileDialogs unlike Pocket PC and other
Windows CE platforms. Therefore you'll have to write your own custom
implementation using System.IO functionality to list files in a specific
folder. I'm working on this and related topics for an upcoming article...

Or use tGetFile.dll, an excellent replacement to the CommonFileDialogs,
available from
http://tillanosoft.com/ce/tgetfile.html

That's what we use in PocketTV for Smartphone, we recommend it, it works
well.
 
The Smartphone has no built-in common file dialogs. I'm working on an
article to illustrate building such dialogs for the Smartphone with .NETCF
and the source code will be included, you can expect it also to appear at
www.opennetcf.org shortly.

Peter
 
Back
Top