VB & MYSQL

Started by
2 comments, last by hplus0603 18 years, 9 months ago
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?
Advertisement
Do you have MyODBC installed?


-=[ Megahertz ]=-
-=[Megahertz]=-
yes i do
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.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement