Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting a DataBase to VB

Status
Not open for further replies.

peggyk2

MIS
Jun 25, 2002
2
0
0
US
I am trying to build a front end for an Access database, but everytime I try to connect the mdb file I get an error saying it is an "unrecognized format". I can connect to Microsoft's Northwind database fine, but not my own. I am using VB6 and Access 2000.

Thank you for any help you can give me.
 
Probably because you are trying to connect as Access 97. Try using something like
"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=d:\letters direct\Colleges.mdb"
Peter Meachem
peter@accuflight.com
 
In the VB enviorment go to project, references check Microsoft DAO 3.6 Object Library
 
i need a database engine to make my .EXE program work at any computer not depending on the existance of MS Access or any other program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top