connect VB to mySql
I need help! i'm new in VB and mysql. I plan to develop a software using VB and mySql, i goto mysql website but no idea which one to download, there're mysql 4.0 and API, should i download both?
and if i complete the software, and package it into a cd and create an autorun cd, can it run on every pc? or i need to configure mySql in every pc?
THanks for help!
I can answer your mySQL question, but not the VB question (not really my area).
Inside of your VB program, it should handle all of the connecting to the mySQL server. The mySQL server should be on a remote PC (for optimal performance) and all clients will connect to it. The API (from what I've seen on the site) is not available for VB (But is for .NET).
Just keep the client /server idea in mind. Installing mySQL on each PC isn't what you want to do.
I recommend this: http://www.microsoft.com/sql/msde/default.mspx if you are going to have it on one server. Or if it is going to be on individual PCs and install during deployment, then I recommend MS Access.
just download mysql 4.0
inorder to connect vb to mysql u hve use odbc connection......for that download myodbc...
configure it...and connect to the mysql using the odbc connection in ur vb prog.....