Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB MySQL
I am developing a website right now and I want to connect the web database to my visual basic 6.0 application.
 
Is it possible that I can connect to the mysql web database?
 
I know how to connect to mysql database to a land based connection but I never tried to connect it to a web database.
 
Please provide me a sample code on how I can do it as I really need it to finish my project.
 
Thanks
Posted 28-Aug-10 6:18am
Edited 31-Aug-10 4:47am
v4
Comments
Dalek Dave at 31-Aug-10 10:44am
   
Edited for Readability and Grammar.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I would expect that you just need to specify the location in your connection string, but given that VB6 has been obsolete and unsupported for a decade, it's hard to understand why anyone is using it and hard to know what functionality that we consider basic was added to it a decade ago, when it was still being worked on.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

But is it possible that i can retrieve database record on a web database?
how can i connect it, im using mysql odbc 5.1 for the connection of my mysql database, do you now somebody that has done this kind of connection. Thanks
  Permalink  
Comments
Dalek Dave at 31-Aug-10 10:44am
   
Reply through Comment, not Answer.
Simon_Whale at 31-Aug-10 10:46am
   
google is always your friend
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

its always best to also add in the question what you've tried. but from a quick google there is a complete solution for you
 
connect to remote mysql
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

Hi simon, Ive already search in goolgle, but im having problem in having answer to my question, there some forums about it, but there is no complete to my problem
  Permalink  
Comments
Simon_Whale at 31-Aug-10 10:51am
   
the link sent shows a solution around 2 or 3 reply down

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 534
1 Gihan Liyanage 298
2 RyanDev 260
3 Sergey Alexandrovich Kryukov 223
4 Richard Deeming 185
0 Sergey Alexandrovich Kryukov 8,936
1 OriginalGriff 7,891
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 31 Aug 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100