Javscript would provide a navigation menu here. HOME

Did you know?

PC ActiveSync can be used to automate tasks on device connection

You can have several apps started every time a device connects via ActiveSync on your PC. To enable this, you have to enter the application(s) to start in your PC Windows registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect]
"OnConnect"="\"c:\\windows\\system32\\cmd.exe\" /c d:\\OnConnect\\install.bat"[download as reg file]

In this example, the batch file d:\OnConnect\install.bat will be launched every time a device connects via ActiveSync. If you use the itsutils, you can specify a list of commands executed against the connected device. In example, you can following install.bat (assuming that all tools and files are in d:\OnConnect).

@echo on
cd d:\OnConnect
pput -f -v _0000_comp_itcivacn2.cab "\DiskOnChip\Persistent Copy\CabFiles\_0000_comp_itcivacn2.cab"
pput -f -v userApp_WCE4.ARMV4.cab "\DiskOnChip\Persistent Copy\CabFiles\IuserApp_WCE4.ARMV4.cab"
pput -f -v sqlce.wce4.armv4.cab "\DiskOnChip\Persistent Copy\CabFiles\sqlce.wce4.armv4.cab"
pput -f -v System_SR_enu.cab "\DiskOnChip\Persistent Copy\CabFiles\System_SR_enu.cab"
pregutl @region.reg
pause "ReBoot ?"
pause "*************** Finished **************************"

These line copy some files to the device, change the registry with a regedit4 conform file (download sample), sync the time of the device to yours PC time and then perform a warmboot. Using the XDA tools (itsutils) there are many more possibilities. Especially usefull, as PocketPC devices do not support batch files on the device.

Another ActiveSync scipt.

Disable the ActiveSync Partnership setup dialog

To avoid partnering, you use a registry key and you will no more be asked to setup a partnership with your PocketPC or Windows CE device.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
[download as reg file]

To switch back to accepting partnerships, use this

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
[download as reg file]

Cut Copy Paste in text boxes

Although you will not get a context menu for all edit boxes, you can always use the SIP (SoftwareInputPanel) to cut/copy/paste text. Simply mark the text and then tap Ctrl on the SIP first and then c for copy, x for cut or v for paste. The keystrokes are the same as in good old days, Ctrl-C, Ctrl-X and Ctrl-V.

Free HTTP server

If you install the PPC2003 sdk you will get a free http server that runs in your pocket. The installer files are installed to \Program Files\Windows CE Tools\wce420\POCKET PC 2003\Support\httpserver. If you need more support (asp), search (google for PocketASP (commercial) or the freeware "Pocket Asp Builder").

Free HTTP server with ASP support

Better and free (with a nag screen) is PocketASP by ModeZero. It looks like it supports IIS asp pages with minor changes and has a easy database support.

Hooking the keyboard

Nice tool and source that shows the best way I know to hook the keyboard on WinCE and PocketPC: http://www.hpcnec.com/mikes.htm.

Click to download an archived copy of KeyHook.zip

I used the source to program a "resident" keyboard hotkey application that can invoke executables on special keystrokes (see iHook2).

Disable RIL in Windows Mobile 2003 phone editions

To "downgrade" your phone edition you have delete the registry key:


and then reboot. After this, all RIL related stuff will no longer work as the RadioInterfaceLayer is no more loaded. You can now use the serial port to the radio (modem) to have direct control.

Using Remote Display without ActiveSync

Please go here to read more.

Overcome Dr. Johnson Test during cold boot

When you cold boot a device, you will be asked to calibrate your screen. After that you have to do the Dr. Johnson test (tap and hold, cut and paste). You simply can skip the test by holding the Action key and tapp and hold the stylus in the upper part (a blue bar) of the screen.

last change: 13. June 2006