Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Accessing data on a web server

 
   Database Help (Home) -> Visual Basic -> ADO RSS
Next:  fopen versus sockets & timeouts  
Author Message
Daryl Muellenberg

External


Since: Feb 08, 2005
Posts: 1



(Msg. 1) Posted: Tue Feb 08, 2005 5:38 pm
Post subject: Accessing data on a web server
Archived from groups: microsoft>public>vb>database>ado (more info?)

I have written a VB6 app for a user that uses ADO to connect to a MySQL
database (through the MyODBC driver). Not being much of a internet
programmer, the user asked me if it is possible to move the the database to
a web server and have the client program access the database on the web
server instead of the local machine.

The user seems to think all that needs to be done is to modify the ADO
connection string to point to an http or ftp address (instead of a server
name). I have little to no experience in this area, but from what I
understand I don't think this is possible using a standard VB6 program -
correct? Doesn't the client need to be written in ASP or something similar?
TIA

Daryl

 >> Stay informed about: Accessing data on a web server 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 2) Posted: Tue Feb 08, 2005 5:52 pm
Post subject: Re: Accessing data on a web server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This sample can connect to a web server version of MySQL:
http://www.veign.com/vrc_codeview.asp?type=app&id=92

This all depends on how the web host has the MySQL databases setup. Some
have it setup in a way that you will not be able to connect to it remotely -
can only use something like phpMyAdmin set to local. If the web host allows
remote connections then all you will need is the IP address of the server
containing the MySQL DB....

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--

"Daryl Muellenberg" <dmuellenberg.RemoveThis@agris.com> wrote in message
news:eLIxV7iDFHA.3368@TK2MSFTNGP10.phx.gbl...
> I have written a VB6 app for a user that uses ADO to connect to a MySQL
> database (through the MyODBC driver). Not being much of a internet
> programmer, the user asked me if it is possible to move the the database
to
> a web server and have the client program access the database on the web
> server instead of the local machine.
>
> The user seems to think all that needs to be done is to modify the ADO
> connection string to point to an http or ftp address (instead of a server
> name). I have little to no experience in this area, but from what I
> understand I don't think this is possible using a standard VB6 program -
> correct? Doesn't the client need to be written in ASP or something
similar?
> TIA
>
> Daryl
>
>

 >> Stay informed about: Accessing data on a web server 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Accessing a report made from MS Access using VB6. - Dear fellow programmers, With vb6, i am using MS Access as my database. I already made a lot of reports in the MS Access and i want to access that reports too in my vb6 program. My vb6 program should be able to view and print those MS Access ..

Pass data out of class - I'm stumped by this and don't know what further to do to troubleshoot this: I have a class with variables: Private mstrbrThirdKeyName As String Private mstrbrPrimaryKeyName As String Private mlngbrPrimaryKeyValue As Long Private mlngbrThirdKeyValue As....

SQL server image field - I have a problem related to a field in a SQL table whcih is an "image" datatype. The powers that be here claim it is a bmp. I think it is not, or that it is encrypted in some way. I would like to test my theory by reading the data in the fie...

Data Environment Designer - need additional table fields o.. - Hello -- There are too many columns in the table to fit on a form when dragging the DED's table's Command node onto the form. I need to add to the form some of those columns which did not come onto the form in that initial dragging. After dragging one...

Using Data Environment Designer - how to drag Command node.. - Hello -- I can't figure out how to get the Data Project and blank form on the screen at the same time so that I can drag the Command node onto the blank form. I am following the tutorial on p 182 in Roger Jennings' Database Developer's Guide with Visua...
   Database Help (Home) -> Visual Basic -> ADO All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]