Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Disable ActiveSync with evc++ code

Disable ActiveSync with evc++ code

Scheduled Pinned Locked Moved Mobile
c++helpquestion
4 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    ZapMe1
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • Z ZapMe1

      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

      J Offline
      J Offline
      Jonas Larsson
      wrote on last edited by
      #2

      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

      Z 1 Reply Last reply
      0
      • J Jonas Larsson

        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

        Z Offline
        Z Offline
        ZapMe1
        wrote on last edited by
        #3

        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

        Z 1 Reply Last reply
        0
        • Z ZapMe1

          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

          Z Offline
          Z Offline
          ZapMe1
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups