[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

create replica from mdb on server...

Posted on 2009-07-09
2
Medium Priority
?
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 total points
ID: 24829982
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
ID: 24830000
No copy but Replication with JRO... i need a code
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Suggested Courses

650 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