PC Review


Reply
Thread Tools Rate Thread

How to disable Active Sync on the Device

 
 
Ron Weiner
Guest
Posts: n/a
 
      9th Mar 2007
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
 
 
 
 
=?Utf-8?B?QW1pdA==?=
Guest
Posts: n/a
 
      9th Mar 2007
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
 
Ron Weiner
Guest
Posts: n/a
 
      11th Mar 2007
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
>>
>>
>>



 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobile Device center error with active sync Bob H from the UK Microsoft Dot NET 1 29th Dec 2008 11:05 PM
Missing Option in Sync Center Compared to Active Sync lowercasep Windows Vista Hardware 0 20th Feb 2008 05:45 PM
debugging ce 5.0 device over ethernet without active sync using VS2005 (can it be done) ? I_hate_coding_but_the_money_is_nice Microsoft Dot NET Compact Framework 1 20th Aug 2007 11:13 PM
Sync Shared Calendar to Windows Mobile Using Active-Sync =?Utf-8?B?TGF1cmVuY2U=?= Microsoft Outlook Discussion 1 21st May 2007 01:42 AM
WINDOWS MOBIL DEVICE CENTER THE WORST! BRING BACK ACTIVE SYNC! =?Utf-8?B?M2dvbGRlbnM=?= Windows Vista General Discussion 5 8th Mar 2007 02:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:29 PM.