Database with VB6

G

Guest

Hi,

Started out with VB6 a few days ago. Familiar with Access and VBA.

I'm trying to connect to an Access (.mdb) file from VB6, but the Visual Data
Manager says it cannot recognize the file type. I'm having Access 2003
installed.
Can somebody please tell me what's wrong ?
 
G

Guest

It's inadvertently been posted in this NG. Sorry for this. I'll try posting
in a VB6 NG, however, any replies are welcome.
 
T

Tim Ferguson

It's inadvertently been posted in this NG. Sorry for this. I'll try
posting in a VB6 NG, however, any replies are welcome.

VB6 is pretty antique now... you need to make sure that the ADO or DAO
libraries you are using to connect to the mdb are appropriate for the
version of Access (or Jet) that was used to create it.

Hope that helps


Tim F
 
D

Douglas J. Steele

Definitely need the correct DAO library, but the ADO library shouldn't
matter. It should only be the connection string being used that matters for
ADO.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top