Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i use the mysql database in visual basic

Status
Not open for further replies.

johnroger

Programmer
Jul 15, 2003
1
PH
hi...

im a fresh programmer, my problems is how can i connect
the mysql database to a visual basic form or let say can you
please send me a sample source of data entry using mysql in vb...

thank's

regor
 
The easiest is to use MyODBC and ADO. If your familiar with VB just download the ODBC driver from mysql.com and get to work.

Otherwise read up on ADO and ODBC is pretty straight forward once you get started.

abombss
 
Check the MySQL manual and read the section MySQL APIs/ODBC.
The only way you can make use of VB with Mysql is through MyODBC. It is advisable to upgrade your MDAC level to MDAC 2.6 or higher, which will also update your ADO to 2.6. You can download MDAC at and search for the keyword MDAC.

Have fun!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top