vb.net equivalent

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
 
D

David W. Fenton

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top