How to disable Active Sync on the Device

R

Ron Weiner

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
 
G

Guest

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
 
R

Ron Weiner

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
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 said:
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
 

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