Solved

Unrecognized database format ????

Posted on 2002-07-25
6
288 Views
Last Modified: 2010-05-02
I have developed a vb system in vb5 and access 97 as database under windows NT. Now i would like to convert my system to vb6, from access 97 to access 2000/XP, and in platform Windows XP. I face some problems during my conversion n one of them is when i run the system it returns me with a msg "Unrecognized database format ???". Why?? Basically, i have already run the Full Service Pack 5, replaces 3 dll file in windows/system folder. These 3 files r p2bdao.dll, p2ctdao.dll and p2irdao.dll.
But, i still stuck in unrecognised database format.....

Does anyone know the solution????
0
Comment
Question by:jetyun
[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
6 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 7177243
Install either DAO verion 3.6 (download from MS) or ADO verion 2.6(?).

Access 2000 has a different file format from previous versions (especially Access 97) so you need the MOST CURRENT Data access software version.  Verion 3.6 of DAO can open either Access 2000 or Access 97, earlier versions cannot open Access 2000 MDBs.

Arthur Wood
0
 
LVL 2

Expert Comment

by:selim007
ID: 7177249
what r u using to connect ? ADO,DAO,RDO ??
if you are using an activeX component to connect and retrieve data , then make sure that the active X supports the current database version.
if u can tell me how u r connecting and if using an activeX which one , then i can help u
0
 

Expert Comment

by:X14h
ID: 7177251
try using the reference "Microsoft DAO 3.6 Object library" instead the older versions (2.5, 3.5, 3.51)

hope this helps
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 43

Accepted Solution

by:
TimCottee earned 200 total points
ID: 7177253
SO you have effectively installed the appropriate stuff, you still need to change any references in the project to DAO 3.6 or ADO 2.1 (or higher) in order to use the new DLLs etc that you have installed.

There is one additional caveat in that if you are using the standard Data control supplied with VB, you also need to change the .Connect property to Access 2000; instead of Access; as this still uses the older drivers.

You will also need to change any ADO connection string which use Microsoft.Jet.OLEDB.3.51 to Microsoft.Jet.OLEDB.4.0 in order to use the newer jet drivers.
0
 

Author Comment

by:jetyun
ID: 7178934
thanks. i will get back to u experts...
0
 
LVL 5

Expert Comment

by:jayeshshah
ID: 7183669
Try the latest versions of the DAO i.e. 3.6 for Access 2000/XP.

If you are using ADO then use the provider as Microsoft.Jet.OLEDB.4.0
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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…
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…
Suggested Courses
Course of the Month7 days, 11 hours left to enroll

632 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