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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access and VB 6 1

Status
Not open for further replies.

rpbenito

Programmer
Joined
Jun 13, 2001
Messages
63
Location
US
I have just installed Microsoft Visual Studio 6 and tried connecting to an Access 2000 database. The connection failed and said that it was an unrecognizable access database. I went to the Microsoft site and downloaded the updates for VB 6 and installed them. I now can connect to an access database, but the form wizzard creates code that the complier complains about. This is the error I get

Procedure declaration does not match description of even or procedure having the same name.

So I changed the procedure's name and the code works.....so I have 2 quesions...

1. How can I get VB 6 to recognize Access 2000?
2. How can I get the wizzard to function correctly?

Thanks
Pat
 
1. USE DAO 3.6 or ADO 2.5+. Make sure you installed VB6 SP5. You may want to download the latest MDAC and Jet 4.0 from
2. You must be using the DataControl. After using the Wizard, checge the reference under PROJECT|REFERENCES for ADO from 2.0 to 2.5/6/7 [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Thanks a lot....it worked!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top