But now that I have the jet exe and the TSI dll and have modifiyed the System Registry I'm geting a simple compile error when i try to exicute code to Sync the Master and Rep DBs the error states "user defined type not defined" On the first line of the following code.
Expand|Select|Wrap|Line Numbers
- Dim sync As Synchronizer
- Dim reps As Replicas
- Dim rep As Replica
- Set sync = New Synchronizer
- Set reps = sync.ReplicaSet
- sync.Running = True
- sync.SystemDB = _
- "c:\windows\system32\system.mdw"
- sync.IndirectDropbox = "c:\dropbox"
- sync.IndirectDropboxPwd = "password"
- sync.DatabaseName = _
- "C:\data\expenses.mdb"
- Set reps = sync.ReplicaSet
- For Each rep In reps
- If rep.ReplicaID <> _
- sync.ReplicaID Then
- sync.SynchIndirect _
- rep.SynchronizerID
- End If
- Next rep
TIA