PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Windows Mobile Hacks/Tweaks (http://forum.ppcgeeks.com/forumdisplay.php?f=27)
-   -   Start PC App on device connect/dis-connect with PC (http://forum.ppcgeeks.com/showthread.php?t=55953)

BigDiesel07 02-02-2009 01:30 PM

Start PC App on device connect/dis-connect with PC
 
Here is a good registry edit that enables or disables PC applications starting when you connect your device to a PC..

If you have set up Activesync or Windows Mobile Device Center, it will start as soon as you connect your Device, but here’s how to also launch a custom application: you need to edit your PCs registry at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect

Quote:

Right Click to select New, String Value and choose a name for it (if doesn’t matter what name you choose). Double Click the newly created String to edit it and in the Value data box, enter the full path of the application you want to autostart (i.e.: C:\Program Files\Microsoft Office\Office12\Outlook.exe). The application will start automatically the next time you will dock your Device.

If you want to specify a custom application to be launched when disconnecting your device, follow the same procedure, only this time edit the registry at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnDisconnect


All times are GMT -4. The time now is 09:05 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0