Solved

CDaoDatabase: Office 97 -> Office XP - Cannot open database anymore!

Posted on 2002-06-25
2
335 Views
Last Modified: 2013-11-20
I have a database that I access with DAO in VC++ 6.

CDaoDatabase m_dbDatabase;

I used to work with Office 97, but I recently installed Office XP, converted the database to Office XP format and now when I try to open the database:

m_dbDatabase.Open (...);

I get the following exception error:

Unrecognized database format 'c:\file.mdb'

I did get the latest version of the jet engine off the MS site, but still it does not work.

How can I get VC's DAO classes to open the new .mdb file? I thought this is all handled by the jet engine...
0
Comment
Question by:Claude050897
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 7109083
I think the problem is that you converted your MDB file from '97 to XP format by opening it in Access but your application is built with an old DAO library.

The following KB article may be helpful:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q236991
0
 

Author Comment

by:Claude050897
ID: 7109824
Thanks!!!!!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now