Amit
Turns out that there is a registry value that controls the Automatic Connect
feature of Active Sync. In case this information is useful to anyone else,
I found it here:
HKCU\ControlPanel\Comm\AutoCnct
Set to 0 and it does not start Active Sync automatically when the unit is
docked. Set to 1 and it does start Active Sync automatically when the unit
is docked.
Ron W
"Amit" <amitranjan@nospam-saskendotcom> wrote in message
news:5327DA74-9F5D-41A0-8230-(E-Mail Removed)...
> Am not sure if API is available for this (perhaps some one here can
> comment
> on that).
> You can check out this registry key:
> [HKEY_CURRENT_USER\ControlPanel\Notifications]
> This is the place where the information is stored when you set
> notification
> through
> Settings->Sound and Notifications.
>
> Hope this helps
> --
> Thanks and Regards
> Amit Ranjan
> blog:http://amitranjan.wordpress.com
>
>
> "Ron Weiner" wrote:
>
>> I have developed a CF 1.0 Kiosk application for a fleet of Pocket PC's
>> running Windows Mobile 2003 Second Edition. My application is locked
>> down
>> pretty well except when the device is put into the cradle while active
>> sync
>> is starting. At this time the Active Sync start notification window pops
>> up
>> over my app enabling the start button for a second or two. As soon as
>> the
>> dialog disappears my app gets the focus again, and it re-hides the start
>> button and I am locked back down again.
>>
>> My question is how can prevent Active Sync on the device from either
>> starting or prevent it from putting a window up on top of my app and
>> thereby
>> allowing the Start button to appear. Any help would be greatly
>> appreciated.
>>
>> Ron W
>>
>>
>>