Starting activesync from application on pocketpc

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
 
P

Peter Foot [MVP]

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
 
C

Christiane

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

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