Can this be done?

  • Thread starter Thread starter Jon Credit
  • Start date Start date
J

Jon Credit

I have developed a small PPC application that captures
some data in a SQLCE database. The data is both text and
binary. I have created a sockets application for both the
PPC and the client workstation that transfers the data
from the PPC to the workstation as long as I have an IP
address for the client workstation.
I am now being told the client workstation may not have an
IP address (i.e. it is a laptop and will be on the road).
I am looking for a solution to get the data from the PPC
to the laptop. Is it possible to write an app that 'talks'
to the PPC via sockets? The PPC does not have a network
card, it is only connected via a cradle?

Any and all suggestions are deeply appreciated.

Thanks
--Jon
 
SQLCE has database synchronization support - is there a SQL 2000 database on
the PC that you are synchronizing with?

If not,
Does this PC have activesync installed?

If so, you can have activesync launch an app when the device is cradled -
set the AutoStartOnConnect key under HKLM\Software\Microsoft\Windows CE
Services
in the PC registry

set that key to the value of an EXE that you want to launch.
Then, from within that EXE, you can use RAPI to copy a file from the device
to the PC.
see
http://www.opennetcf.org/docs/Communication/OpenNETCF.Desktop.Communication.RAPIMembers.html
or just
http://www.opennetcf.org/

This requires that the data on the PPC be stored, at some point, as a file.
You could copy the entire SQLCE db, but then what would you do with it?
 
Back
Top