?
Solved

Synchronize database through VB

Posted on 2003-03-12
3
Medium Priority
?
244 Views
Last Modified: 2010-05-18
I like to synchronize replicated database within VB.  I seen sample code to do that in MSDN article Q167227.  I am however using VB6.

My problem is, the article reference "Database" object.

Dim mdbMaster As Database

but in VB, I can not find the reference to the Database object.  Where do I find this reference and how? (that is when I comple the program, it complain saying "user-defined type not defined.")


0
Comment
Question by:supunr
[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
3 Comments
 
LVL 1

Accepted Solution

by:
jeokwah earned 160 total points
ID: 8124909
They could be refering to Microsoft DAO Object Library
0
 
LVL 11

Author Comment

by:supunr
ID: 8124938
yes, jeokwah, you are right.  Thanks for that.  Hopefully now I should be able to sync the database.
0
 
LVL 1

Expert Comment

by:jeokwah
ID: 8127643
Thanx for the points. Good Luck!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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
Course of the Month9 days, 13 hours left to enroll

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