VB5Transfer with API Functions
Private Declare Function DEVICETODESKTOP Lib _
   "c:\program files\windows ce services\adofiltr.dll" _
   (ByVal desktoplocn As String, ByVal tablelist _
   As String, ByVal sync As Boolean, ByVal overwrite _
   As Integer, ByVal devicelocn As String) As Long

Private Declare Function DESKTOPTODEVICE Lib _
   "c:\program files\windows ce services\adofiltr.dll" _
   (ByVal desktoplocn As String, ByVal tablelist _
   As String, ByVal sync As Boolean, ByVal overwrite _
   As Integer, ByVal devicelocn As String) As Long
Listing 4 Both DEVICETODESKTOP and DESKTOPTODEVICE have the same parameters. The first parameter is the location of the desktop database file; the second is a list of tables that will be updated.