PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework How to disable Active Sync on the Device

Reply

How to disable Active Sync on the Device

 
Thread Tools Rate Thread
Old 09-03-2007, 01:55 AM   #1
Ron Weiner
Guest
 
Posts: n/a
Default How to disable Active Sync on the Device


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


  Reply With Quote
Old 09-03-2007, 05:37 AM   #2
=?Utf-8?B?QW1pdA==?=
Guest
 
Posts: n/a
Default RE: How to disable Active Sync on the Device

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

  Reply With Quote
Old 11-03-2007, 09:25 PM   #3
Ron Weiner
Guest
 
Posts: n/a
Default Re: How to disable Active Sync on the Device

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-3BE3FF355359@microsoft.com...

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



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off