Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - KeepingDatabasesInSync2.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

>
Want a good read? Try The Summer of His Life (available on Amazon!)

KeepingDatabasesInSync2.mdb (intermediate)

 Post Reply Post Reply
Author
Message
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: KeepingDatabasesInSync2.mdb (intermediate)
    Posted: 01 Aug 2008 at 2:50am

Please consider donating $1 per sample downloaded, find out why here.
 

KeepingDatabasesInSync2.mdb

This sample is similar to the "KeepingDatabasesInSync.mdb" sample in that it still uses MSysObjects to check for a newer verison on the network. However, rather than using a DOS batch file to copy the Master Copy over the Local Copy, it uses the FileCopy command.

Unfortunately, the database cannot be open if it going to be copied over. Thus we will programmatically create a 'CopyMaster' database, copy several objects to it, set certain properties, launch the 'CopyMaster' database, and the close the Local Copy. Once the copy is complete, the CopyMaster will close itself then re-launch the application.
 
Download
Access 97 (107 KB):
uploads/5/KeepingDatabasesInSync2_97.zip

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links
>
Want a good read? Try The Summer of His Life (available on Amazon!)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.