Contents Index Adding the synchronization template Component samples, demonstrations and code fragments

UltraLite for MobileVB User's Guide
  Understanding UltraLite for MobileVB Development
    Synchronization

Writing code to use the synchronization form


Call the the InitSyncForm function, passing it your ULConnection object. This must be done before each synchronization. For example, if your synchronization status form is named Form_Sync and your ULConnection object is named Connection:

Form_Sync.InitSyncForm Connection
Connection.Synchronize

Now, every time your application synchronizes, the synchronization status form appears. As synchronization progresses, your user can observe the progress bar and byte count. When synchronization completes, the form is dismissed. The Cancel button instructs UltraLite to abort the current synchronization.

For more details, see the CustDB example.


Contents Index Adding the synchronization template Component samples, demonstrations and code fragments