Log in

View Full Version : Vb not recognising .mdb files


TheRealThing
Feb 8, 2005, 01:45 PM
I made a small vb project and copied the coding from a friend word for word (which works for them btw). I made up the database on access and when I try to run the project I get an error saying that vb doesn't recognise the .mdb file?? So what have I done wrong?

ScottGem
Feb 14, 2005, 08:49 AM
What version of VB? What version was the MDB created in?

TheRealThing
Feb 21, 2005, 12:27 PM
Ms access 2000 and vb 5.0

ScottGem
Feb 21, 2005, 02:34 PM
Hmmm. Can you open the file in Access?

phr0ze
Feb 28, 2005, 01:33 PM
Try installing Jet Engine. And also installing MDAC. Also in project properties you may need MDAC in your references. Even if you copied the code line by line you missed the references.

You can get JET and MDAC from Here (http://www.microsoft.com/downloads/results.aspx?productID=&freetext=jet&DisplayLang=en)

This all could be completely off base but unless I see code of how you are trying to access the MDB I can't give any more.