Disable ActiveSync with evc++ code
-
-
Hello, I'm looking for evc++ code that will "Disable ActiveSync" when the program is run, and restore connection (or at least the ability to connect), when the program is shutdown! Can anyone help me with this? Much Appreciated. :):confused: ZapMe1
Hi, I've used this registry key in the past, dont know if it's still valid: [HKEY_CURRENT_USER\ControlPanel\Comm] "AutoCnct"=dword:00000000 This will stop the decive from trying to start an activesync session when a cable is plugged into the rs232/usb hybrid, but I guess it wont terminate an active connection. Unsure if that is what you are after. HTH --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
-
Hi, I've used this registry key in the past, dont know if it's still valid: [HKEY_CURRENT_USER\ControlPanel\Comm] "AutoCnct"=dword:00000000 This will stop the decive from trying to start an activesync session when a cable is plugged into the rs232/usb hybrid, but I guess it wont terminate an active connection. Unsure if that is what you are after. HTH --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
Thank you, Jonas. I'll give it a try, and post results back here! I appreciate the reply. :) BTW: I'm not concerned with stopping the connection if already started, but would like to stop from connecting to ActiveSync if my program is already running! ZapMe1 -- modified at 18:44 Thursday 23rd February, 2006
-
Thank you, Jonas. I'll give it a try, and post results back here! I appreciate the reply. :) BTW: I'm not concerned with stopping the connection if already started, but would like to stop from connecting to ActiveSync if my program is already running! ZapMe1 -- modified at 18:44 Thursday 23rd February, 2006
Hi Jonas, Just wanted to say thank you! The registry change for "AutoCnct" worked like a charm! :-D When the value is set to it's default "1", then AS works & connects as usual! When this value is set to "0", then AS is ignored, and no connection is made! I am a happy boy! ;) Thank You Again.... ZapMe1