Discussion Locked

Unable to use access2000 in VB6.0

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Help me please!!!
I am using Visual Basic6. and I want to use Access2000 as a back end. But while using Data Control object it says "Unrecognized Database format"

Waiting for soon reply.....

11 replies

by donq

No Problem!

1. Open theActiveX Controls Window under the Tools menu item and add whatever VB6 "Microsoft" controls your local machine is missing from the libraries. You may need the Access CD???

by naresh809

Sir,
As per your instruction in had installed MDAC_TYP.EXE but still i am unable to use access2000 database in vb6, please help me if you have any other solution.
thanks

by seagull data services

Sounds like you have an earlier version of DAO/ADO referenced. Go to Project|References and make sure you are using the correct version.
Also when initialising variables make sure you prefix the objects with the data access type. e.g.
Dim db as DAO.database
Hope this helps

This discussion is closed to new replies.