• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Does VB6 work with Access 2002 ?

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
jscharpf
Asked:
jscharpf
  • 2
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
yes. you need to use an OleDBCOnnection
0
 
Éric MoreauSenior .Net ConsultantCommented:
Sorry. Using VB6, you can use Access 2002 database if you are using the ADO Jet 4.0 provider.
0
 
TimCotteeCommented:
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
 
TimCotteeCommented:
If you upgrade to service pack 4 or 5 of VB then these are required elements and will therefore be available to you.
0
 
jscharpfAuthor Commented:
thanks!

Jeff
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now