?
Solved

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

Posted on 2002-06-25
2
Medium Priority
?
374 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
[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
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 800 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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