LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2004, 12:44 PM   #1
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
VisualBasic to mySQL connectivity????


Is it possible to connect a visual basic app to mySQL; if so what dll would be needed to accomplish this?

Thanks
Tom
 
Old 05-06-2004, 12:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
I'm not that great with Visual Basic but I think you should be able to do it with th MySQL ODBC driver:
http://dev.mysql.com/downloads/connector/odbc/3.51.html
 
Old 05-06-2004, 01:52 PM   #3
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Original Poster
Rep: Reputation: 30
I have that driver installed. I guess I should have been more specifice in asking what the visual basic syntax or connection string might look like.

Tom
 
Old 05-06-2004, 08:49 PM   #4
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Original Poster
Rep: Reputation: 30
Well ODBC actually works with almost the same syntax in VB as it does in PHP. Just name your dsn, database, server and credentials.

mySQL ODBC installs the myodbc.dll

Thanks for the help

Tom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
php4 mysql connectivity bm1 Programming 4 02-19-2004 06:23 PM
visualbasic program on linux jayakrishnan Linux - General 4 06-10-2003 01:03 AM
CodeWeavers Wine + Mircosoft VisualBasic matt3333 Linux - Software 4 06-09-2003 11:56 AM
Database Connectivity (Mysql) hubergeek Linux - Networking 1 03-18-2002 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration