Contents Index Write code to synchronize Lesson 4: Deploy to a device

UltraLite ActiveX User's Guide
  Tutorial: An UltraLite Application for PocketPC
    Lesson 3: Write the sample code

Synchronize your application


The ASA 9.0 Sample database has a Customer table with columns matching those in the customer table in your UltraLite database. The following procedure synchronizes your database with the ASA 9.0 Sample database.

To synchronize your application

  1. From a command prompt, start the MobiLink synchronization server by running the following command line:

    dbmlsrv9 -c "dsn=ASA 9.0 Sample" -v+ -zu+ -za

    The -zu+ and -za command line options provide automatic addition of users and generation of synchronization scripts. For more information about these options, see MobiLink Synchronization Server Options.

  2. Start the UltraLite application.

  3. Delete all the rows in your table.

    Any rows in the table would be uploaded to the Customer table in the ASA 9.0 Sample database.

  4. Synchronize your application.

    Click Synchronize.

    The MobiLink synchronization server window displays the synchronization progress.

  5. When the synchronization is complete, click Next and Previous to move through the rows of the table.


Contents Index Write code to synchronize Lesson 4: Deploy to a device