Sign in to follow this  
Sparta

VB & MYSQL

Recommended Posts

Sparta    144
Hi,sorry for my bad english. Im having trouble with VB6. The problem is i cant find a way to connect to mysql database from VB6. I havent found any good tutorials about this. I have a register form for a website so users will register on the website and it will add the user and the password to the mysql database and i want user login(in vb6) to connect to the same database. So its like you register on the website and login in the game(vb6). Anyone got any ideas or have any good links?

Share this post


Link to post
Share on other sites
hplus0603    11347
IIR, MySQL has drivers both for ODBC and OLE. Visual Basic can talk to databases both through ODBC and OLE. You should be able to talk to it, using those drivers, just like you would talk to any other SQL database through the same interfaces.

If you're using VB.NET, you can also write a thin managed wrapper on top of the C API, using the native DLL import capabilities, although that's a somewhat more "raw" environment to be working in.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this