How to connect to SQL DB in VB6 ?

exxos

New member
Joined
Sep 28, 2008
Messages
2
Reaction score
0
Points
1
I can do SQL in PHP enough enough, but finding it impossible to find out a guide on how to setup this in VB6. There seems to be several methods to open a SQL connection, though i do not see what the difference is between them all, or is there any guide which makes any sense on how to set it up. Some need drivers and items installing, and nothing explains how to set anything up of what I can find.

All I really need to do is open up a connection like in PHP, and read data from my DB on the web server. Its only a couple of lines of PHP code but trying to translate that into VB6 is proving to be really annoying.

So does anyone know a working example in VB6 and a guide on how to set it up if it needs drivers etc ?
 
Back
Top