Microsoft KB Archive/242010

= FIX: The Data Form Wizard May Not Open an Access 2000 Database =

Article ID: 242010

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q242010



SYMPTOMS
If you use the Visual Basic Data Form Wizard to open an Access 2000 database you may get the following error:

"Unrecognized Database Format '....\your_database_name.mdb'"



CAUSE
The Visual Basic Data Form Wizard uses the Jet OLEDB 3.5 Provider which does not recognize the Access 2000 database format.



RESOLUTION
Open the Access 2000 database through an ODBC DSN using the Access ODBC driver version 4.0.

-- Or --

Build your form manually using either the Jet OLEDB version 4.0 provider or an ODBC DSN through the Access ODBC driver version 4.0



STATUS
This is a problem with Visual Basic 6.0 Service Pack 3 and earlier versions. This problem has been fixed in Service Pack 4 for Visual Basic.



Steps to Reproduce Behavior

 * 1) Start a new Visual Basic project.
 * 2) Add a new Form using the Visual Basic Data Form Wizard.
 * 3) Click Next in the Introduction dialog box.
 * 4) Choose Access in the Database Type dialog box.
 * 5) Point to Access 2000 in the Database dialog box.
 * 6) Click Next and you receive the error you saw in the Symptoms section.

