vb.net equivalent

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I am synchronising one access db with its master via the below code;

Dim dbSynch As DAO.Database

Set dbSynch = DBEngine(0).OpenDatabase(<path local>)
dbSynch.Synchronize <path remote>

dbSynch.Close
Set dbSynch = Nothing

How can I do this in vb.net/ado.net?

Thanks

Regards
 
I am synchronising one access db with its master via the below
code;

Dim dbSynch As DAO.Database

Set dbSynch = DBEngine(0).OpenDatabase(<path local>)
dbSynch.Synchronize <path remote>

dbSynch.Close
Set dbSynch = Nothing

How can I do this in vb.net/ado.net?

Using DAO that ought to work. I don't know how you use DAO in .NET.

You might find JRO easier, since it was designed for use with ADO
(though not ADO.NET).
 
Back
Top