Current location: Hot Scripts Forums » Programming Languages » Visual Basic » VB6 and MYSQL


VB6 and MYSQL

Reply
  #1 (permalink)  
Old 09-21-09, 04:27 PM
ruteckycs's Avatar
ruteckycs ruteckycs is offline
Coding Addict
 
Join Date: Jul 2009
Posts: 377
Thanks: 6
Thanked 10 Times in 10 Posts
VB6 and MYSQL

Ok, I have about 10 days with nothing to do so I was wanting to work on a personal project. Im constrained to using VB6 for the work. It has been quite some time since I used VB6 and I was never quite an expert in it to start with so please bare with me.

I would like to use VB6 to connect to a MYSQL database that is running on my website (GoDaddy) but I have no idea how to use VB6 to connect to anything online I will also need to run quarry's.

In short Im looking for the VB6 equivalent of this PHP code:

PHP Code:

mysql_connect("remotehost""admin""password");
mysql_select_db("databasename"); 
and instructions to run a quarry.

Thanks in advance for any insight.
__________________
This post was created with 100% recycled electrons.
Reply With Quote
  #2 (permalink)  
Old 12-30-09, 10:16 PM
Dwagar's Avatar
Dwagar Dwagar is offline
Newbie Coder
 
Join Date: Sep 2008
Location: Ohio
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
I did this once before when trying to move away from ms access but then later decided to go with ms sql. Do you have the mySQL connector installed? I am pretty sure I needed that from MySQL :: MySQL Downloads

I also ran into another forum at Connect to mySQL Database with Visual Basic - Access World Forums that may help you out.

Wish you best of luck
__________________
SepCity Portal Solutions
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vb with a dbase mysql that is in the webserver in the net nai22 Visual Basic 8 04-28-09 10:15 AM
Opening mysql connection in VB6 Jothimanin Visual Basic 1 01-23-09 12:56 PM


All times are GMT -5. The time now is 01:18 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.