Jump to content
  • Advertisement
Sign in to follow this  
Sparta

VB & MYSQL

This topic is 4764 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!