Page 1 of 1
Communicating with MySQL using VB or C++
Posted: Sun Mar 27, 2005 3:31 pm
by Cronikeys
Is it possible? I am working on a PHP database manager for a company, and I though it would be neat if they could also do everyhting using a VB or C++ proggy I make, however I don' tknow how to connect with MySQL database's using either... any thoughts?
Posted: Sun Mar 27, 2005 6:46 pm
by feyd
last I read, MySQL made the client available under C..
Posted: Sun Mar 27, 2005 8:59 pm
by Cronikeys
Well I am talking about like me making a GUI using C++ or VB (I have visual studio :\) for the company to use to add/edit/delete "projects" from an external database.
Posted: Sun Mar 27, 2005 9:10 pm
by wyred
Yes, it's possible. And there are APIs released for C++. Just check the downloads section at MySQL's website.
Posted: Sun Mar 27, 2005 9:42 pm
by SystemWisdom
Well, I wrote a small app to test exactly that one day (not too long ago) and I downloaded the
MySQL ODBC Driver v3.51 for Win32 to test against..
I have added a link to my small program which demonstrates alot of stuff you can do.. I was gonna add more features to it, but it was mainly to test the connection between VB and MySQL, and it did just that!
It worked well for me, hopefully it works for you!
VB-MySQL Connection
It was written in VB 6.0 with Visual Studio..
Also, plz let me know if and when you DL the file, I dont want to leave it on my server forever sucking bandwidth (even though it is tiny)!! Thx!
Posted: Mon Mar 28, 2005 2:35 am
by AGISB
VB tutorials are found here
http://www.vbmysql.com/articles
Protecting MySQL Sessions With SSH Port Forwarding (Part 1 and 2) are really good.
They also got a nice forum which helps a lot.
Also they describe how to install the MySQL ODBC Driver v3.51 which is a bit tricky.