Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Unrecognized database format


Message #1 by "Dena Johnson" <dena_johnson@h...> on Sun, 17 Feb 2002 18:16:39 +0000
I am having a recurring problem connecting to any Access database via a 

simple DAO data control in VB.  Most of the time when I try, I get the 

following error message:  "Unrecognized database format" and the path to the 

database.  The only way that I have been able to make the connection work is 

if I access the Biblio database at its default location (in the VB98 folder 

of MS Visual Studio) -- obviously that won't get me very far if I am going 

to write useable programs.  If I make any changes to the database at all, 

including its location, I get that message.  If I create an Access db from 

scratch and try to connect to it, I get the same result.  If I go to Help, 

all I get is the message 'item' (Error 524), which is no help at all.  This 

is quite frustrating.  I have checked all of the data control properties 

that I know to check, but to no avail.  Any suggestions?





_________________________________________________________________

Send and receive Hotmail on your mobile device: http://mobile.msn.com



Message #2 by "Ian Ashton" <ian@c...> on Sun, 17 Feb 2002 22:26:16 -0000
Dena,



Just a guess, but you could be trying to connect to Access 2000 databases

with the DAO 3.51 object library selected in your references instead of DAO

3.6. (NOTE: the BIBLIO.MDB database (in the VB98 folder

of MS Visual Studio) is Access 97 Format.



Apart from that, I would strongly recommend that you use ADO rather than DAO

if only because MS$ is removing support from DAO in favour of DAO.



Hope this helps.



Ian Ashton



-----Original Message-----

From: Dena Johnson [mailto:dena_johnson@h...]

Sent: Sunday, February 17, 2002 6:17 PM

To: Access

Subject: [access] Unrecognized database format





I am having a recurring problem connecting to any Access database via a

simple DAO data control in VB.  Most of the time when I try, I get the

following error message:  "Unrecognized database format" and the path to the

database.  The only way that I have been able to make the connection work is

if I access the Biblio database at its default location (in the VB98 folder

of MS Visual Studio) -- obviously that won't get me very far if I am going

to write useable programs.  If I make any changes to the database at all,

including its location, I get that message.  If I create an Access db from

scratch and try to connect to it, I get the same result.  If I go to Help,

all I get is the message 'item' (Error 524), which is no help at all.  This

is quite frustrating.  I have checked all of the data control properties

that I know to check, but to no avail.  Any suggestions?





_________________________________________________________________

Send and receive Hotmail on your mobile device: http://mobile.msn.com











  Return to Index