Discussion Locked

Visual Basic - Access 2000 connection

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have added a data control to a form and when i try to connect to my Access 2000 database, i receive an error message saying unrecognised database file format. Access 2000 is installed on my system however it does not appear in the Data1/properties/connect drop down list box. How can i get Access 2000 to appear here?

5 replies

by vinnyd

The problem is you are using the DAO connection.

Try adding the ADO component under Project, Components "Microsoft ADO Data Control" to the project then us the JET 4.0 connection to the database.

by lord foul

Yes, by selecting the jet4.0 connection i was able to access the Access 2K database, thankyou!

by rolie

Goto Control Panel, select ODBC data sources, then to System DSN. Click Add. Select Microsoft Acces driver(*.mdb) then click finish. Type in data source name. Remember this name, this will be reference in your VB program. Type in the Description. Then click SELECT. Browse until you find your Access 2000 databse. Then click OK.

open your VB then, select your properties for your Connect and Database Name.

This will solve your problem.

by lord foul

Excellent, I can now choose Access2K from the connect tab under my datasource object properties. Thankyou for solving my problem!

This discussion is closed to new replies.