How do I access text file on handheld from PC

J

John Kelsey

I need to access a text data file on a handheld device from an application
running on a desktop system. The handheld will be connected to the PC and
available through an activesync connection. Windows Explorer from the PC
can see the files and directory structure on the handheld, but I can't seem
to point a file open dialog to the handheld.

My research has turned up nothing so far and I'm not sure I'm even asking
this in the right forum. I'm hoping that someone here can help or at least
point me to the right place to ask the question.

Thanks,
John Kelsey
 
G

Guest

Have you tried the RAPI functions? I've not used them myself, but something
like CeCreateFile / CeReadFile seem to fit the bill.

Peter
 
P

Paul G. Tobey [eMVP]

What do you want to do with it? You can copy it to the desktop by calling
DEVICETODESKTOP(), defined in RAPI, the Remote API...

Paul T.
 
G

Guest

Hi John,

If all you want to do is to open/edit/save a text file that's on
your PDA, then the easiest way is with "SQLCE Database
Viewer" from http://www.pocketpctoolkit.com

Yes, it's a program to view/edit databases, but it also provides
an alternative to the ActiveSync/Explore window.

It shows you your PDA's directories & files... and if you double-
click on a file, it gives you the option to open it, either on your
Desktop or on your PDA.

For example, on your Desktop, it'll show you your .txt files
in your "\My Documents" folder, you can double-click on one
of them, and view that file's contents on your Desktop
(or on your device, if you'd prefer).

It also lets you run .exe's on your PDA by double-clicking
on them and (my favourite) you can drag a .cab file into
the window to copy it to the PDA, then double-click on it
to start installing it on the device.

It's a huge time-saver.


James
 

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