Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
My particular project is a peer-to-peer messenger which obtains the IP addresses of users and establishes winsock host/client sockets and transmits messages. But in order for someone to contact another, the username must be exposed or populate a listbox (with the IP embedded as item data).
A possible solution would be to use a MySQL database on a webserver for login information - Name, IP address, form state, etc. This information would be sent to all client applications and exposing all members logged in, allowing a user to select a name on the list, and connect to them with the hidden IP address information.
The Problem: this requires a client to query a remote MySQL database through a Visual Basic 6 application, and to do this they must have local ODBC connectivity.
I have thought about all the alternatives - bundling MyODBC driver/connector in the installer, but then the client would have to figure out DNS settings, etc. - which would defeat the user-friendly scheme of the program, and also install two programs instead of one.
Is there an easy solution to query a remote MySQL database (on a linux webserver) with VB6, and not require the client to install a complicated driver?

![]() |
C++ and Arrays
|
Java Method Question
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |