Solved

create replica from mdb on server...

Posted on 2009-07-09
2
255 Views
Last Modified: 2015-01-05
I have a mdb in \\dir_server\mymdb.mdb
Now... with vb6 calssic ho to create a replica of the mdb stored on server in a pc dir similar c:\mylocal_dir\my_replica.mdb.
Naturally before to create a replica controll if the mdb existis in c:\mylocal_dir\my_replica.mdb

Tks.
0
Comment
Question by:luca2009
2 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
Comment Utility
By "replica" do you mean you'd implemented Replication on the database?

Or do you just want to make a copy?

If you just want to make a copy, use standard File I/O methods:

FileCopy "source" "destination"

If you are using replication and want to make a true Replica, you'll need to use the Jet Replication Objects (JRO) and work with them ... needless to say, that's a LOT more complex than FileCopy.
0
 

Author Comment

by:luca2009
Comment Utility
No copy but Replication with JRO... i need a code
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now