Sign in to follow this  

VB & MYSQL

This topic is 4550 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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

This topic is 4550 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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