Solved

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

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get filename and folder into excel 7 74
twoTwo  challenge 35 102
matchUp  challenge 9 107
My project did see openJDK that I installed. What could be the problem 7 141
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

770 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