Hi,
I have a scenario where I need to open a table in MS Access 2000 using AD0. But when I try to open it up, it says it's an unrecognized database, or an unrecognized format. Does anyone know why that might be?
Below is how I'm opening the file.
I've also been unable to solve the problem of creating a new database right from VB using ADO. Can anyone please offer some insight on that?
JLRodgers Level: Moderator Registered: 04-04-2002 Posts: 1618
Re: ADO & MS Access Archived to Disk
Not completely certain, but it may need to be:
Microsoft.Jet.OLEDB.4.0
Although if you add a ADODC1 control on a form, use the connection string building function to create the string (using the newest/highest numbered Jet), and test to see if you can connect.
Although the DB may need repairing.
03-08-2002 at 05:10 AM
|
ASHISH25 Level: Guest
Re: ADO & MS Access Archived to Disk
hi
In access 2000 use Provider=Microsoft.Jet.OLEDB.4.0
otherwise your code is ok