Solved

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

Posted on 2002-06-25
2
347 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
MFC Dialog 9 51
Turn a spreadsheet into a vba executable. 2 92
twoTwo  challenge 35 107
canBalance challenge 34 96
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

789 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