Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

vb.net equivalent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 19 Jan 2008 22:31 GMT
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
Tom van Stiphout - 19 Jan 2008 23:08 GMT
Not ADO.NET, but you can continue to use DAO via COM Interop.
-Tom.

>Hi
>
[quoted text clipped - 13 lines]
>
>Regards
David W. Fenton - 20 Jan 2008 22:45 GMT
> I am synchronising one access db with its master via the below
> code;
[quoted text clipped - 8 lines]
>
> 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).

Signature

David W. Fenton                  http://www.dfenton.com/
usenet at dfenton dot com    http://www.dfenton.com/DFA/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.