PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Handling a CEDB database
  • Handling a CEDB database from the mobile device
  • Handling a CEDB database from the PC
  • Synchronizing a CEDB database with an Access database
  • Handling a standard database found on the mobile device
  • Format of ".CDB" files
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The CEDB format is a database format that can be used on the mobile devices in Windows Mobile.
A CEDB database corresponds to a ".CDB" file. A CEDB database can contain several data files (also called "tables").
Two types of CEDB databases are available:
  • the standard CEDB databases, that correspond to the databases found by default on the mobile device. These databases contain the "Tasks", "Contacts" and "Calendar" data files, ...
  • the other CEDB databases (called custom databases), that correspond to Access databases (".MDB" files) previously exported from a PC.
When an Access database (".MDB" file) is copied onto a mobile device, this database is automatically transformed into CEDB database (".CDB" file).
Handling a CEDB database

Handling a CEDB database from the mobile device

A CEDB database corresponds to a ".CDB" file. This database can contain several data files (also called "tables").
This database can be handled by a Windows Mobile application. These operations are performed by the cdbxxx functions.

Handling a CEDB database from the PC

If you own WINDEV, you also have the ability to create a WINDEV application used to directly handle the database found on the mobile device. These operations are also performed by the cdbxxx functions.
Note: To handle a database found on the mobile device from a WINDEV application, the PC must be connected to the mobile device (ceConnect).

Synchronizing a CEDB database with an Access database

An Access database (".MDB" file) is found on the PC. This database is exported to the mobile device: ActiveSync automatically transforms it into specific database (".CDB" file).
This database can be handled by a WINDEV Mobile application.
If you own WINDEV, you also have the ability to create a WINDEV application used to handle the database found on the mobile device.
These operations are performed by the cdbxxx functions.
The synchronization between the database found on the mobile device and the Access database is performed by ActiveSync.
Notes:
  • To handle a specific database found on the mobile device from a WINDEV application, the PC must be connected to the mobile device (ceConnect).
  • The WINDEV application can also handle the Access database via the Native Access.
Handling a standard database found on the mobile device
A standard database (containing the data files for managing tasks, contacts, ...) is found on the mobile device. This database can be handled by a Windows Mobile application.
If you own WINDEV, you also have the ability to create a WINDEV application used to handle this standard database found on the mobile device.
These operations are performed by the cdbxxx functions.
The synchronization between the database found on the mobile device and the data viewed via Outlook is performed by ActiveSync.
Note: To handle a standard database found on the mobile device from a WINDEV application, the PC must be connected to the mobile device (ceConnect).
Special case with Windows Mobile 5: Windows Mobile 5 can no longer be used to access a standard database (task, contacts, appointment, ...) from a Windows application (and therefore from a WINDEV application).
Format of ".CDB" files
The format of the ".CDB" files is not compatible between the different versions of Windows CE. Therefore, the same ".CDB" files cannot be used on the mobile devices not running the same operating system.
Related Examples:
CDB database: Contacts Unit examples (WINDEV Mobile): CDB database: Contacts
[ + ] Using the cdbxx functions to access the standard Contacts database from a Pocket PC.
This example is used to add a contact, modify a contact, delete a contact and list the contacts.
CDB database: Appointments Unit examples (WINDEV Mobile): CDB database: Appointments
[ + ] Using the cdbxx functions to access the standard Appointments database from a Pocket PC.
This example is used to add an appointment, modify an appointment, delete an appointment and list the appointments.
CDB database: Tasks Unit examples (WINDEV Mobile): CDB database: Tasks
[ + ] Using the cdbxx functions to access the standard Tasks database from a Pocket PC.
This example is used to add a task, modify a task, delete a task and list the tasks.
PC CDB Browser Windows (WINDEV Mobile): PC CDB Browser
[ + ] The "PC CDB Browser" example is used to access the databases found on the Pocket PC (.cdb format).
This example enables you to access:
1. The standard databases of the Pocket PC: task list, appointments, and so on
2. The databases in cdb format found on the Pocket PC.

This example uses the cexx and cdbXX functions to access the data found on the Pocket PC. A connected Pocket PC is required to use this example
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment