OpenFileDialog in Smartphone

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
 
P

Peter Foot [MVP]

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
 
T

The PocketTV Team

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.
 
P

Peter Foot [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top