UltraLite ActiveX User's Guide
Tutorial: Using Dynamic SQL in an UltraLite Application for PocketPC
Lesson 3: Write the eMbedded Visual Basic sample code
The following procedure synchronizes the data in your UltraLite database with an Adaptive Server Anywhere database running on your computer.
To synchronize your application
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.
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.
Synchronize your application.
Click Synchronize.
The MobiLink synchronization server window scrolls messages displaying the synchronization progress.
When the synchronization is complete, click Next and Previous to move through the rows of the table.