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

UltraLite ActiveX User's Guide
  Tutorial: Using Dynamic SQL in an UltraLite Application for PocketPC
    Lesson 3: Write the eMbedded Visual Basic sample code

Synchronize your application


The following procedure synchronizes the data in your UltraLite database with an Adaptive Server Anywhere database running on your computer.

To synchronize your application

  1. Run Samples\UltraLite\Names\build.bat to create the ASAConsolidated database.

    This Adaptive Server Anywhere database has a table with columns matching those in the names table in your UltraLite database.

  2. From a command prompt, start the MobiLink synchronization server with the following command line:

    dbmlsrv9 -c "dsn=ASAConsolidated" -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.

  3. Synchronize your application.

    Click Synchronize.

    The MobiLink synchronization server window scrolls messages displaying the synchronization progress.

  4. 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