Can anyone help me to take the code below and convert it to something that I can use in VB.NET. I don't really care how it works at this point just that it does.
Function Synchronize(ByVal DB1 As String, ByVal DB2 As String)
Call TwoWayDirectSync(DB1, DB2)
Private Sub TwoWayDirectSync(ByVal strReplica1 As String, ByVal strReplica2 As String)
Dim repReplica As New JRO.Replica
repReplica.ActiveConnection = strReplica1
' Sends changes made in each replica to the other.
repReplica.Synchronize(strReplica2, jrSyncTypeImpExp, jrSyncModeDirect)
repReplica = Nothing
Thank you for your help,