start program on docking

  • Thread starter Thread starter x
  • Start date Start date
X

x

How do I start a desktop application when I dock the
pocketpc?

Is it possible to get the uniqe id of the pocketpc device
from the desktop?

/ B.
 
ActiveSync has a key to start an app upon docking.
It also has one for starting an app upon undocking.

The one used for docking is placed in the following key in the registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE
Services\AutoStartOnConnect]
"name"="full path to your app"
Note that the full path to your app has to be written C-style, meaning that
each backslash must be doubled.

Re the unique ID: I am not sure, but maybe RAPI can get hold of the ID for
you.

/Keld Laursen
 
Back
Top