Hi,
take a look at cerunappatevent and NOTIFICATION_EVENT_RS232_DETECTED
Sample c# code at
http://groups.google.com/groups?hl=e...adle%26hl%3Den
Pete
--
Pete Vickers
Microsoft .NET Compact Framework MVP
HP Business Partner
http://www.gui-innovations.com
" A_PK" <> wrote in message
news:...
> Hi All,
>
> I developed my own Pocket PC application in vb.net, everytime i want to
> sync my application to get the most up-to-date information, I need to
> insert my Pocket PC on the cradle, and open my application and click the
> SYNC button in my program. Then my application will only start synchroning
> with a backend system to get the latest information.
>
> I was wondering if anyone know how to create a event that can trigger my
> application to synch when i insert my applicaiton on the cradle. So, I do
> need to open my application and click the synch button everytime.
>
> Just like Microsoft Outlook, when the cradle detect the Pocket PC, then
> will start synchroning. if i dun want to synch, i can just go to
> ActiveSync Option there to uncheck it. How can I make my application
> appear in the ActiveSync Option there ? if an user check it, then my
> application will synch automatically. if an user uncheck it, then my
> application will not synch
>
> Please help
>