I am having a problem with the backup and restore procedure with a Window Mobile 2003 device, an iPAQ 2210.
Here is the primer...I load the new Visual Basic runtime for Pocket PC 2003 and my eVB 3.0 developed program runs without any problems.
The problem occurs when I attempt to backup and restore the device. I make the backup using either ActiveSync 3.7.1 or the Backup program on the iPAQ 2210. After restoring the backup image though, my eVB programs do not work right.
In specific, I believe I am having a problem with ADOCE 3.0. When my eVB program starts up, it attempts to create a Pocket Access database, using a simple "CREATE DATABASE" SQL statement. The error occurs after the "CreateObject" call is used to create the RecordSet.
The main form opens without problems after the error. My first guess is that the new VB Runtime is not loaded correctly after the restore, specifically maybe ADOCE drivers. I looked at the "\Windows" directory on the PDA and see all the ADOCE 3.0 dlls are physically on the device after the restore procedure. Also present are the dlls from the new eVB runtime.
Once I uninstall the runtime and my eVB program, everything works correctly after re-installing the same.
I have tried this cycle many times and always get the same results. I do not see this problem when backing up and restoring from a Pocket PC or Pocket PC 2002 device.
It is vital for my users to be able to make their own backups. Anyone ran across this problem or have any suggestions. Thanks.
--
Larry