PC access to PDA

  • Thread starter Thread starter russ.mcanulla
  • Start date Start date
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.
 
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
 
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
 
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.
 
Back
Top