Contents Index User authentication Monitoring synchronization progress

UltraLite ActiveX User's Guide
  Understanding UltraLite ActiveX Development

Synchronizing UltraLite applications


Users of SQL Anywhere Studio 9.0 can synchronize UltraLite applications with a central database. Synchronization requires the MobiLink synchronization software included with SQL Anywhere Studio.

This section provides a brief introduction to synchronization and describes some features of particular interest to users of UltraLite ActiveX. Synchronization details can be found in the MobiLink Synchronization User's Guide and the UltraLite Database User's Guide.

You can also find a working example of synchronization in the CustDB sample application. For eMbedded Visual Basic, this sample is described in Tutorial: An UltraLite Application for PocketPC. For JScript, the sample is described in Tutorial: An UltraLite Application for Pocket IE.

UltraLite ActiveX supports TCP/IP, HTTP, and HTTPS synchronization. Synchronization is initiated by the UltraLite application. In all cases, you use methods and properties of the ULConnection object to control synchronization.

Note 
To synchronize using encrypted synchronization (HTTPS) or to use encryption over TCP/IP you must obtain the separately-licensable security option. To order this option, see the card in your SQL Anywhere Studio package or see http://www.sybase.com/detail?id=1015780.

For more information, see Welcome to SQL Anywhere Studio.

For more information, see ULConnection class.

To synchronize over TCP/IP or HTTP

  1. Prepare the synchronization information.

    Assign values to the required properties of the ULConnection.SyncParms object.

    For information about the properties and the values that you should set, see Synchronization.

  2. Synchronize.

    Call the ULConnection.Synchronize method.


Monitoring synchronization progress

Contents Index User authentication Monitoring synchronization progress