Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Does VB6 work with Access 2002 ?

Posted on 2002-07-19
Medium Priority
Last Modified: 2010-05-02
Do I have to use VB.NET to work with an Access 2002 (is this the same as Office XP?)  database? I currently have VB 6.


Question by:jscharpf
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
  • 2
LVL 70

Expert Comment

by:Éric Moreau
ID: 7164704
yes. you need to use an OleDBCOnnection
LVL 70

Accepted Solution

Éric Moreau earned 200 total points
ID: 7164707
Sorry. Using VB6, you can use Access 2002 database if you are using the ADO Jet 4.0 provider.
LVL 43

Expert Comment

ID: 7164714
Indeed emoreau is correct, either use ADO Jet 4.0 provider or use DAO 3.6 rather than 3.51 or earlier. The access 2002 (Office XP it is) and Access 2000 both require you to use MDAC 2.1 or higher which includes the 4.0 jet provider (MDAC 2.6 and higher does not ship the jet engine though it is available seperately) or to use DAO library version 3.6 or higher.
LVL 43

Expert Comment

ID: 7164717
If you upgrade to service pack 4 or 5 of VB then these are required elements and will therefore be available to you.

Author Comment

ID: 7164721


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

730 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