Solved

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

Posted on 2002-06-25
2
329 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
Comment Utility
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
Comment Utility
Thanks!!!!!!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 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

10 Experts available now in Live!

Get 1:1 Help Now