Tip of the Month (April 2005)
When the power gets low on your handheld, your device will turn off and you will not be able to turn it back on. This does not neccessarily mean you have lost everything on the handheld. The Windows CE operating system detects this low power situation and goes into a "hibernation" state to try to preserve memory for as long as possible. Generally, if you recharge your device in time, you will not have lost anything. Of course, if you ignore the device long enough, the power will eventually run out. Everything on the storage card will be preserved, but you will lose everything in RAM memory. As far as Visual CE is concerned, there are three things that you would need to restore in the event of a complete power loss: (1) the Visual CE runtime system, (2) the data, and (3) the forms. Restoring the Visual CE Runtime System You can restore the Visual CE Runtime System by simply connecting your handheld to your dekstop and reinstalling Visual CE on the desktop (just install right on top of your current installation, don't uninstall first). If you need to recover without the use of a desktop machine and you have a Pro or Enterpise Edition, we provide .CAB files that contain the Visual CE Runtime System for the different processors (most people have an ARM processor). They can be found in C:\Programs Files\Windows CE Services\SYWARE Visual CE\VICERT.*.CAB (please note that the VICERT.*.CAB files are redistributable, but the VCE.*.CAB files are not). You can put the appropriate .CAB file on your storage card and, in the event of power loss, you can run the .CAB file to reinstall the Visual CE runtime system. But, the Windows CE operating system has a funny quirk: after a .CAB file runs, it deletes itself. So, we suggest that, if you are going to run the .CAB file, first make a copy and then run the copy. That way, if you lose power again, you'll still have a .CAB file you can use to reinstall. Restoring the Data Restoring the Forms |