Connecting Tech Pros Worldwide Help | Site Map

Unrecognized database format

Member
 
Join Date: Sep 2007
Posts: 47
#1: Dec 25 '07
I use access 2007

when i try this code in VB6, it doesnot work:

Set db = OpenDatabase("ICA Analyzed Corpus.accdb")

the message which appear is "Unrecognized database format"
QVeen72's Avatar
Moderator
 
Join Date: Oct 2006
Location: Bangalore
Posts: 1,385
#2: Dec 25 '07

re: Unrecognized database format


Hi,

Use ADO's to connect to Access 2007
Reference:
Microsoft Activex DatObjects 2.7 (Or higher)

Regards
Veena
lotus18's Avatar
Site Addict
 
Join Date: Nov 2007
Location: Zamboanga City, Philippines
Posts: 856
#3: Dec 25 '07

re: Unrecognized database format


Quote:

Originally Posted by ahmed222too

I use access 2007

when i try this code in VB6, it doesnot work:

Set db = OpenDatabase("ICA Analyzed Corpus.accdb")

the message which appear is "Unrecognized database format"

What is that ICA Analyzed Corpus.accdb? The file extension of access is .mdb or am I just wrong? :)

Rey Sean
Newbie
 
Join Date: Jul 2009
Posts: 3
#4: Aug 19 '09

re: Unrecognized database format


Covert the database to ms access 2000 or 2003 file format. Visual basic 6.0 does not recognise access 2007 file format
Reply