Solved

Does VB6 work with Access 2002 ?

Posted on 2002-07-19
5
137 Views
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.

THanks

Jeff
0
Comment
Question by:jscharpf
  • 2
  • 2
5 Comments
 
LVL 70

Expert Comment

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

Accepted Solution

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

Expert Comment

by:TimCottee
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.
0
 
LVL 43

Expert Comment

by:TimCottee
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.
0
 

Author Comment

by:jscharpf
ID: 7164721
thanks!

Jeff
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
VB6 / DAO 3.6 / run time error: Couldn't find installable ISAM 7 103
Best way to parse out a json string in VB6? 10 228
message box in access 4 51
Problem to line 23 55
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 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