Re: Automatically Check the 'Pocket Access' Option on ActiveSync



"John R. Dougherty" <JohnRDougherty@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:4B048E38-EE51-4922-8AD9-B397CDD64E78@xxxxxxxxxxxxxxxx
>I have figured out how to use the DESKTOPTODEVICE API to create a sync
> relationship for an Access database between my PC and PDA. But I would
> also
> like to programatically select the checkbox on ActiveSync, where you go to
> Tools->Options->Pocket Access, and checkmark it there. Is there a way to
> that from within my code as well?
>

You have to set the the 'Disabled' regkey for the Pocket Access filter to 0.
It will not work for guest partnerships.

HKEY_CURRENT_USER\Software\Microsoft\Windows CE
Services\Partners\[DEVICEID]\Services\Synchronization\Objects\MicrosoftTable
Disabled=0

DEVICEID is obtained from CeGetSelectedDeviceId().

The Pocket Access sync item will show up on next sync.

--
Johan


.



Relevant Pages

  • Automatically Check the Pocket Access Option on ActiveSync
    ... I have figured out how to use the DESKTOPTODEVICE API to create a sync ... relationship for an Access database between my PC and PDA. ...
    (microsoft.public.pocketpc.developer)
  • Re: MS Access
    ... Microsoft ActiveSync has an option to sync a Microsoft Access database on ... the desktop to a Pocket Access database on the Pocket PC. ...
    (microsoft.public.pocketpc)
  • Re: Access DB
    ... Are you talking about using the "Pocket Access" sync option that is in ... ActiveSync, or about using DesktopToDevice? ... If you are letting ActiveSync sync it, be aware that the sync is not ...
    (microsoft.public.pocketpc.developer)
  • How to sync Pocket Access?
    ... How do I setup a two way sync between Pocket Access and desktop Access? ... I placed my database in my sync folder and nothing happens. ...
    (microsoft.public.pocketpc)
  • Problem of Pocket access
    ... I have develop a database program with EVC++ and pocket access. ... When I have insert the record it can show the record before sync. ...
    (microsoft.public.windowsce.embedded.vc)