Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Cannot read Access2000

Cannot read Access2000

Cannot read Access2000

Hi, I have tried to read Access2000 from Visual Basic 6 and error occured " Invalid file format " If you don't mind please tell me what can I do ?.


RE: Cannot read Access2000

Your question is a little vague.
Were you using ADO to open a connection to the Jet Database?
What version of ADO? 1.5/2.0/2.1/2.5? ADO 2.1 is the best.
2.5 is for Windows 2000. Wouldn't use that in a production system just yet.
What version of the Jet driver? 3.x or 4? Use 4.
If this isn't close to a solution to your problem please reply with full description of your problem and the solutions you have tried to date.


RE: Cannot read Access2000

Sorry for my question as you said is little vague, but Iam suppries that you can handle and I have already tried for what u sugest and successfully. My previous question are why visual basic 6 cannot read Microsoft Access 2000 with data control.
Aniway thankyou for your reply



RE: Cannot read Access2000

The Data control in VB is not compatible with Access 2000 directly.

First create your DAO recordset and then assign it to the data control.
set db = opendatabase(access2000 mdb)
set rs = db.openrecordset("select * from table")

set data1.recordset = rs

now the Data control has the Access2000 recordset.

also see Microsoft's article on the subject
Q238401 - PRB: Getting Unrecognized Database Format Error Message When Upgrading to Access 2000

Hope this helps

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close