Starting activesync from application on pocketpc

  • Thread starter Thread starter Christiane
  • Start date Start date
C

Christiane

Hi there,

I'm developing an application with .net cf for pocketpc
2002. My device is connected via wireless lan. In my app I
would like to include a button to start activesync from
the pocketpc. How can this be done?
Thanks in advance
Christiane
 
You will need to P/Invoke the CreateProcess API call (for example use the
OpenNETCF WinAPI library which includes this function
http://www.opennetcf.org/winapi.asp).
You can call replog.exe which is the device side ActiveSync program to kick
off synchronisation e.g.

OpenNETCF.WinAPI.Core.CreateProcess("replog.exe", "/sync");

Peter
 
Thanks very much Peter and Paul, that's exactly what I was
looking for. It works fine
Christiane
 
Back
Top