Simply establishing a connection
Hi
I'm a high school student that is working on a project with a few friends. My task in the group is to include a database for game saves, and another database for values of attack, defense, (we're making a game) etc. :)
For the past month I have been searching for a way to connect an ACCESS 2003 database to our VB6 project. I've been looking through all sorts of sites, and even read halfway through http://vb6.us/tutorials/introduction...query-language
Anyways, can someone tell me how to establish a connection, or what provider to select in the data environment window. Thanks!!!
Re: Simply establishing a connection
Welcome to VBForums :wave:
For a start, forget that the Data Environment exists.. it is cumbersome and is based on old technology (as well as having a lack of people who can help you with it).
Instead, go thru the ADO Tutorial which is linked in my signature, as this uses the "proper" method of working with databases from VB6. There is further useful info in our Database FAQs at the top of this forum (or via the link in my signature).
Re: Simply establishing a connection
:sick: I still don't understand it. Where do I start? :afrog:
Re: Simply establishing a connection
Have you followed the tutorial (and created the database/project/etc.)?
If so, you should be able to see how to connect to the database, as well as how to read & write data to it.
If you have any specific questions, we can help.. but I'm afraid your previous post doesn't give us enough information to know what the problem(s) are - so there isn't much we can do.
Re: Simply establishing a connection
Sweet! :thumb: :) I tried the tutorial before but just gave up on it. I switched some of the code and now it connects and obtains values from the database. Thanks a bunch! :wave: