PC access to PDA

R

russ.mcanulla

Hi folks
I need to write a PC app wyhich can pull files off a PDA. I have
downloaded the RAPI sample code from OpenNet, and that works fine, but
uses hard coded paths. I would like to use someting like an
OpenFileDialog to browse to the files needed on the PDA to maintain
the right look and feel, but if I set one up within the sample code it
does not show "Device", just the local drives. Any ideas would be
welcome.
 
P

Peter Foot [MVP]

There isn't a component you can use to do this directly, but you can use the
EnumFiles method of the RAPI class to enumerate the files/directories on the
device (and recursively enumerate their contents).

Peter
 
R

russ.mcanulla

Hi Peter,

Thanks for this . I rather suspected as much. How annoying, as explorer
seems to provide the functionality. I would have thought that someone
would have developed this. Never mind, its just more work after all!

Russ
 
G

Guest

The reason it works this way is becasue the deive is not actually mapped as
a network location (like it appear to be in Explorer). Instead, ActiveSync
installs a shell extension that plugs into explorer and uses RAPI for
communication.
 

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