View Full Version : web based database


Guillermo
Gentlemen,
My VB6 application works great on my PC.
Now I have to upload it to my website, together with the database.
How do I set the Data1.Database property?.
Will it take an "http"://www....." URL as valid?.
Thanks. Guillermo.

Veign
Are you wanting users to access this application through a browser? If so a
VB application will not work. If would have to have been created with a web
based technology like: ASP, ASP.NET or PHP (the big three)...

Tell more about what you are expecting or wanting to happen..

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


"Guillermo" wrote in message
news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com...
> Gentlemen,
> My VB6 application works great on my PC.
> Now I have to upload it to my website, together with the database.
> How do I set the Data1.Database property?.
> Will it take an "http"://www....." URL as valid?.
> Thanks. Guillermo.



Bob Butler
"Guillermo" wrote in message
news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
> Gentlemen,
> My VB6 application works great on my PC.
> Now I have to upload it to my website, together with the database.
> How do I set the Data1.Database property?.
> Will it take an "http"://www....." URL as valid?.

No... sorry to be th bearer of bad news but web-based applications are very
different from client-side applications.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."


Guillermo
Kind of baffled. I'm no genius, but I already have in my website a couple of
VB6 applications, which can be either executed online or dowloaded. They've
been running smoothly for a couple of years.
The problem now is the connection to a web based database, through any
possible means. Thanks. Guillermo.

"Bob Butler" wrote:

> "Guillermo" wrote in message
> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
> > Gentlemen,
> > My VB6 application works great on my PC.
> > Now I have to upload it to my website, together with the database.
> > How do I set the Data1.Database property?.
> > Will it take an "http"://www....." URL as valid?.
>
> No... sorry to be th bearer of bad news but web-based applications are very
> different from client-side applications.
>
> --
> Reply to the group so all can participate
> VB.Net: "Fool me once..."
>
>

Veign
Post a URL to one of your applications that can be executed and run online.

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


"Guillermo" wrote in message
news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
> Kind of baffled. I'm no genius, but I already have in my website a couple
> of
> VB6 applications, which can be either executed online or dowloaded.
> They've
> been running smoothly for a couple of years.
> The problem now is the connection to a web based database, through any
> possible means. Thanks. Guillermo.
>
> "Bob Butler" wrote:
>
>> "Guillermo" wrote in message
>> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
>> > Gentlemen,
>> > My VB6 application works great on my PC.
>> > Now I have to upload it to my website, together with the database.
>> > How do I set the Data1.Database property?.
>> > Will it take an "http"://www....." URL as valid?.
>>
>> No... sorry to be th bearer of bad news but web-based applications are
>> very
>> different from client-side applications.
>>
>> --
>> Reply to the group so all can participate
>> VB.Net: "Fool me once..."
>>
>>



Guillermo
Sure, here it is. It's free.
http://www.energyworld.org/units.exe

I always thought it was only natural to run applications online. Is it not?.
Thanks. Guillermo.

"Veign" wrote:

> Post a URL to one of your applications that can be executed and run online.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Guillermo" wrote in message
> news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
> > Kind of baffled. I'm no genius, but I already have in my website a couple
> > of
> > VB6 applications, which can be either executed online or dowloaded.
> > They've
> > been running smoothly for a couple of years.
> > The problem now is the connection to a web based database, through any
> > possible means. Thanks. Guillermo.
> >
> > "Bob Butler" wrote:
> >
> >> "Guillermo" wrote in message
> >> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
> >> > Gentlemen,
> >> > My VB6 application works great on my PC.
> >> > Now I have to upload it to my website, together with the database.
> >> > How do I set the Data1.Database property?.
> >> > Will it take an "http"://www....." URL as valid?.
> >>
> >> No... sorry to be th bearer of bad news but web-based applications are
> >> very
> >> different from client-side applications.
> >>
> >> --
> >> Reply to the group so all can participate
> >> VB.Net: "Fool me once..."
> >>
> >>
>
>
>

Veign
That application is not running online. What its doing is downloading to
the users computer and executing from there. All your are doing is storing
the EXE on the server and when the user clicks a link, or whatever, you are
pushing the EXE to their system.

Like Bob said there is a huge difference between a web based application and
client-side applications (which is what your is).

It would be a HUGE security hole if EXE file where allowed to be executed on
a web server - especially since most people with a website are in some sort
of shared environment.

To answer your question (possibly) you would have to provide the user with
the database (through a download) and use something that identifies where
the DB is in relation to the application. You could either use the App.Path
property to identify where the user put the EXE and database (assuming in
the same folder) or provide a means for the user to setup where the database
will reside.

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


"Guillermo" wrote in message
news:37AF26CA-CD75-4EF7-948F-E32F6ACCFEC4@microsoft.com...
> Sure, here it is. It's free.
> http://www.energyworld.org/units.exe
>
> I always thought it was only natural to run applications online. Is it
> not?.
> Thanks. Guillermo.
>
> "Veign" wrote:
>
>> Post a URL to one of your applications that can be executed and run
>> online.
>>
>> --
>> Chris Hanscom - Microsoft MVP (VB)
>> Veign's Resource Center
>> http://www.veign.com/vrc_main.asp
>> Veign's Blog
>> http://www.veign.com/blog
>> --
>>
>>
>> "Guillermo" wrote in message
>> news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
>> > Kind of baffled. I'm no genius, but I already have in my website a
>> > couple
>> > of
>> > VB6 applications, which can be either executed online or dowloaded.
>> > They've
>> > been running smoothly for a couple of years.
>> > The problem now is the connection to a web based database, through any
>> > possible means. Thanks. Guillermo.
>> >
>> > "Bob Butler" wrote:
>> >
>> >> "Guillermo" wrote in message
>> >> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
>> >> > Gentlemen,
>> >> > My VB6 application works great on my PC.
>> >> > Now I have to upload it to my website, together with the database.
>> >> > How do I set the Data1.Database property?.
>> >> > Will it take an "http"://www....." URL as valid?.
>> >>
>> >> No... sorry to be th bearer of bad news but web-based applications are
>> >> very
>> >> different from client-side applications.
>> >>
>> >> --
>> >> Reply to the group so all can participate
>> >> VB.Net: "Fool me once..."
>> >>
>> >>
>>
>>
>>



Veign
You website is hosted on a server hosting 756 other websites. Imagine the
damage you could do or information you could gain by executing an EXE on
that server....

It seems your webhost has mostly Apache servers so there is a good chance
you will have to use PHP to create a web-based application

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


"Veign" wrote in message
news:%23lwYNF12FHA.3644@TK2MSFTNGP09.phx.gbl...
> That application is not running online. What its doing is downloading to
> the users computer and executing from there. All your are doing is
> storing the EXE on the server and when the user clicks a link, or
> whatever, you are pushing the EXE to their system.
>
> Like Bob said there is a huge difference between a web based application
> and client-side applications (which is what your is).
>
> It would be a HUGE security hole if EXE file where allowed to be executed
> on a web server - especially since most people with a website are in some
> sort of shared environment.
>
> To answer your question (possibly) you would have to provide the user with
> the database (through a download) and use something that identifies where
> the DB is in relation to the application. You could either use the
> App.Path property to identify where the user put the EXE and database
> (assuming in the same folder) or provide a means for the user to setup
> where the database will reside.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Guillermo" wrote in message
> news:37AF26CA-CD75-4EF7-948F-E32F6ACCFEC4@microsoft.com...
>> Sure, here it is. It's free.
>> http://www.energyworld.org/units.exe
>>
>> I always thought it was only natural to run applications online. Is it
>> not?.
>> Thanks. Guillermo.
>>
>> "Veign" wrote:
>>
>>> Post a URL to one of your applications that can be executed and run
>>> online.
>>>
>>> --
>>> Chris Hanscom - Microsoft MVP (VB)
>>> Veign's Resource Center
>>> http://www.veign.com/vrc_main.asp
>>> Veign's Blog
>>> http://www.veign.com/blog
>>> --
>>>
>>>
>>> "Guillermo" wrote in message
>>> news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
>>> > Kind of baffled. I'm no genius, but I already have in my website a
>>> > couple
>>> > of
>>> > VB6 applications, which can be either executed online or dowloaded.
>>> > They've
>>> > been running smoothly for a couple of years.
>>> > The problem now is the connection to a web based database, through any
>>> > possible means. Thanks. Guillermo.
>>> >
>>> > "Bob Butler" wrote:
>>> >
>>> >> "Guillermo" wrote in message
>>> >> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
>>> >> > Gentlemen,
>>> >> > My VB6 application works great on my PC.
>>> >> > Now I have to upload it to my website, together with the database.
>>> >> > How do I set the Data1.Database property?.
>>> >> > Will it take an "http"://www....." URL as valid?.
>>> >>
>>> >> No... sorry to be th bearer of bad news but web-based applications
>>> >> are
>>> >> very
>>> >> different from client-side applications.
>>> >>
>>> >> --
>>> >> Reply to the group so all can participate
>>> >> VB.Net: "Fool me once..."
>>> >>
>>> >>
>>>
>>>
>>>
>
>



Veign
You website is hosted on a server hosting 756 other websites. Imagine the
damage you could do or information you could gain by executing an EXE on
that server....

It seems your webhost has mostly Apache servers so there is a good chance
you will have to use PHP to create a web-based application

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


"Veign" wrote in message
news:%23lwYNF12FHA.3644@TK2MSFTNGP09.phx.gbl...
> That application is not running online. What its doing is downloading to
> the users computer and executing from there. All your are doing is
> storing the EXE on the server and when the user clicks a link, or
> whatever, you are pushing the EXE to their system.
>
> Like Bob said there is a huge difference between a web based application
> and client-side applications (which is what your is).
>
> It would be a HUGE security hole if EXE file where allowed to be executed
> on a web server - especially since most people with a website are in some
> sort of shared environment.
>
> To answer your question (possibly) you would have to provide the user with
> the database (through a download) and use something that identifies where
> the DB is in relation to the application. You could either use the
> App.Path property to identify where the user put the EXE and database
> (assuming in the same folder) or provide a means for the user to setup
> where the database will reside.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Guillermo" wrote in message
> news:37AF26CA-CD75-4EF7-948F-E32F6ACCFEC4@microsoft.com...
>> Sure, here it is. It's free.
>> http://www.energyworld.org/units.exe
>>
>> I always thought it was only natural to run applications online. Is it
>> not?.
>> Thanks. Guillermo.
>>
>> "Veign" wrote:
>>
>>> Post a URL to one of your applications that can be executed and run
>>> online.
>>>
>>> --
>>> Chris Hanscom - Microsoft MVP (VB)
>>> Veign's Resource Center
>>> http://www.veign.com/vrc_main.asp
>>> Veign's Blog
>>> http://www.veign.com/blog
>>> --
>>>
>>>
>>> "Guillermo" wrote in message
>>> news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
>>> > Kind of baffled. I'm no genius, but I already have in my website a
>>> > couple
>>> > of
>>> > VB6 applications, which can be either executed online or dowloaded.
>>> > They've
>>> > been running smoothly for a couple of years.
>>> > The problem now is the connection to a web based database, through any
>>> > possible means. Thanks. Guillermo.
>>> >
>>> > "Bob Butler" wrote:
>>> >
>>> >> "Guillermo" wrote in message
>>> >> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
>>> >> > Gentlemen,
>>> >> > My VB6 application works great on my PC.
>>> >> > Now I have to upload it to my website, together with the database.
>>> >> > How do I set the Data1.Database property?.
>>> >> > Will it take an "http"://www....." URL as valid?.
>>> >>
>>> >> No... sorry to be th bearer of bad news but web-based applications
>>> >> are
>>> >> very
>>> >> different from client-side applications.
>>> >>
>>> >> --
>>> >> Reply to the group so all can participate
>>> >> VB.Net: "Fool me once..."
>>> >>
>>> >>
>>>
>>>
>>>
>
>




Jim Carlock
"Veign" posted:
> You website is hosted on a server hosting 756 other websites.
> Chris Hanscom

Okay, you got my interest. How'd you determine the number
of websites on that server?

--
Jim Carlock
Post replies to the newsgroup, thanks.



Guillermo
I'm a nuclear engineer, not a philologist. In the same website, one
application works fine and another one doesn't because it can't link to the
database, which is all I needed.
If VB6 can't do it, I'll switch to a software that can. Thanks anyway.
Guillermo.

"Veign" wrote:

> You website is hosted on a server hosting 756 other websites. Imagine the
> damage you could do or information you could gain by executing an EXE on
> that server....
>
> It seems your webhost has mostly Apache servers so there is a good chance
> you will have to use PHP to create a web-based application
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Veign" wrote in message
> news:%23lwYNF12FHA.3644@TK2MSFTNGP09.phx.gbl...
> > That application is not running online. What its doing is downloading to
> > the users computer and executing from there. All your are doing is
> > storing the EXE on the server and when the user clicks a link, or
> > whatever, you are pushing the EXE to their system.
> >
> > Like Bob said there is a huge difference between a web based application
> > and client-side applications (which is what your is).
> >
> > It would be a HUGE security hole if EXE file where allowed to be executed
> > on a web server - especially since most people with a website are in some
> > sort of shared environment.
> >
> > To answer your question (possibly) you would have to provide the user with
> > the database (through a download) and use something that identifies where
> > the DB is in relation to the application. You could either use the
> > App.Path property to identify where the user put the EXE and database
> > (assuming in the same folder) or provide a means for the user to setup
> > where the database will reside.
> >
> > --
> > Chris Hanscom - Microsoft MVP (VB)
> > Veign's Resource Center
> > http://www.veign.com/vrc_main.asp
> > Veign's Blog
> > http://www.veign.com/blog
> > --
> >
> >
> > "Guillermo" wrote in message
> > news:37AF26CA-CD75-4EF7-948F-E32F6ACCFEC4@microsoft.com...
> >> Sure, here it is. It's free.
> >> http://www.energyworld.org/units.exe
> >>
> >> I always thought it was only natural to run applications online. Is it
> >> not?.
> >> Thanks. Guillermo.
> >>
> >> "Veign" wrote:
> >>
> >>> Post a URL to one of your applications that can be executed and run
> >>> online.
> >>>
> >>> --
> >>> Chris Hanscom - Microsoft MVP (VB)
> >>> Veign's Resource Center
> >>> http://www.veign.com/vrc_main.asp
> >>> Veign's Blog
> >>> http://www.veign.com/blog
> >>> --
> >>>
> >>>
> >>> "Guillermo" wrote in message
> >>> news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
> >>> > Kind of baffled. I'm no genius, but I already have in my website a
> >>> > couple
> >>> > of
> >>> > VB6 applications, which can be either executed online or dowloaded.
> >>> > They've
> >>> > been running smoothly for a couple of years.
> >>> > The problem now is the connection to a web based database, through any
> >>> > possible means. Thanks. Guillermo.
> >>> >
> >>> > "Bob Butler" wrote:
> >>> >
> >>> >> "Guillermo" wrote in message
> >>> >> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
> >>> >> > Gentlemen,
> >>> >> > My VB6 application works great on my PC.
> >>> >> > Now I have to upload it to my website, together with the database.
> >>> >> > How do I set the Data1.Database property?.
> >>> >> > Will it take an "http"://www....." URL as valid?.
> >>> >>
> >>> >> No... sorry to be th bearer of bad news but web-based applications
> >>> >> are
> >>> >> very
> >>> >> different from client-side applications.
> >>> >>
> >>> >> --
> >>> >> Reply to the group so all can participate
> >>> >> VB.Net: "Fool me once..."
> >>> >>
> >>> >>
> >>>
> >>>
> >>>
> >
> >
>
>
>
>

Veign
How many websites hosted on a server I use www.whois.sc . You can also
perform a reverse IP lookup to identify the websites that are hosted on a
server.

To find out the server type of a domain I use http://news.netcraft.com/ .
Webserver search on the right of the page.

You would be amazed at all the tools out there (may have to make a blog
entry on this subject).

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


"Jim Carlock" wrote in message
news:%23djl4e12FHA.3296@TK2MSFTNGP09.phx.gbl...
> "Veign" posted:
>> You website is hosted on a server hosting 756 other websites.
>> Chris Hanscom
>
> Okay, you got my interest. How'd you determine the number
> of websites on that server?
>
> --
> Jim Carlock
> Post replies to the newsgroup, thanks.
>
>



Joe O
Easy then... ask your website administrator how come some apps are "working
on the website" while yours couldn't. What Chris and others are saying in
programmers simple language is for your app to work off the web you need web
based technology like: ASP, ASP.NET, PHP etc... Isn't it kind of ironic how
someone could be an expert in one field but a lay person in another?


"Guillermo" wrote in message
news:24856AAB-7FA1-4A7E-B202-B2A987FA3B09@microsoft.com...
> I'm a nuclear engineer, not a philologist. In the same website, one
> application works fine and another one doesn't because it can't link to
the
> database, which is all I needed.
> If VB6 can't do it, I'll switch to a software that can. Thanks anyway.
> Guillermo.
>
> "Veign" wrote:
>
> > You website is hosted on a server hosting 756 other websites. Imagine
the
> > damage you could do or information you could gain by executing an EXE on
> > that server....
> >
> > It seems your webhost has mostly Apache servers so there is a good
chance
> > you will have to use PHP to create a web-based application
> >
> > --
> > Chris Hanscom - Microsoft MVP (VB)
> > Veign's Resource Center
> > http://www.veign.com/vrc_main.asp
> > Veign's Blog
> > http://www.veign.com/blog
> > --
> >
> >
> > "Veign" wrote in message
> > news:%23lwYNF12FHA.3644@TK2MSFTNGP09.phx.gbl...
> > > That application is not running online. What its doing is downloading
to
> > > the users computer and executing from there. All your are doing is
> > > storing the EXE on the server and when the user clicks a link, or
> > > whatever, you are pushing the EXE to their system.
> > >
> > > Like Bob said there is a huge difference between a web based
application
> > > and client-side applications (which is what your is).
> > >
> > > It would be a HUGE security hole if EXE file where allowed to be
executed
> > > on a web server - especially since most people with a website are in
some
> > > sort of shared environment.
> > >
> > > To answer your question (possibly) you would have to provide the user
with
> > > the database (through a download) and use something that identifies
where
> > > the DB is in relation to the application. You could either use the
> > > App.Path property to identify where the user put the EXE and database
> > > (assuming in the same folder) or provide a means for the user to setup
> > > where the database will reside.
> > >
> > > --
> > > Chris Hanscom - Microsoft MVP (VB)
> > > Veign's Resource Center
> > > http://www.veign.com/vrc_main.asp
> > > Veign's Blog
> > > http://www.veign.com/blog
> > > --
> > >
> > >
> > > "Guillermo" wrote in message
> > > news:37AF26CA-CD75-4EF7-948F-E32F6ACCFEC4@microsoft.com...
> > >> Sure, here it is. It's free.
> > >> http://www.energyworld.org/units.exe
> > >>
> > >> I always thought it was only natural to run applications online. Is
it
> > >> not?.
> > >> Thanks. Guillermo.
> > >>
> > >> "Veign" wrote:
> > >>
> > >>> Post a URL to one of your applications that can be executed and run
> > >>> online.
> > >>>
> > >>> --
> > >>> Chris Hanscom - Microsoft MVP (VB)
> > >>> Veign's Resource Center
> > >>> http://www.veign.com/vrc_main.asp
> > >>> Veign's Blog
> > >>> http://www.veign.com/blog
> > >>> --
> > >>>
> > >>>
> > >>> "Guillermo" wrote in message
> > >>> news:F6BD25F0-74FF-4908-B0C1-35FA4E9A9779@microsoft.com...
> > >>> > Kind of baffled. I'm no genius, but I already have in my website a
> > >>> > couple
> > >>> > of
> > >>> > VB6 applications, which can be either executed online or
dowloaded.
> > >>> > They've
> > >>> > been running smoothly for a couple of years.
> > >>> > The problem now is the connection to a web based database, through
any
> > >>> > possible means. Thanks. Guillermo.
> > >>> >
> > >>> > "Bob Butler" wrote:
> > >>> >
> > >>> >> "Guillermo" wrote in
message
> > >>> >> news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com
> > >>> >> > Gentlemen,
> > >>> >> > My VB6 application works great on my PC.
> > >>> >> > Now I have to upload it to my website, together with the
database.
> > >>> >> > How do I set the Data1.Database property?.
> > >>> >> > Will it take an "http"://www....." URL as valid?.
> > >>> >>
> > >>> >> No... sorry to be th bearer of bad news but web-based
applications
> > >>> >> are
> > >>> >> very
> > >>> >> different from client-side applications.
> > >>> >>
> > >>> >> --
> > >>> >> Reply to the group so all can participate
> > >>> >> VB.Net: "Fool me once..."
> > >>> >>
> > >>> >>
> > >>>
> > >>>
> > >>>
> > >
> > >
> >
> >
> >
> >



Jim Carlock
"Veign" wrote:
> How many websites hosted on a server I use www.whois.sc.

That's pretty cool. I like it. But...

Now I started asking... what exactly does that report and
how does that report that?

I'm thinking it shoots the name of the server out there, and the
DNS server replies with an IP address. But all subsites aren't
going to use that same IP address. Each site gets its own IP
address, right? So is that 500 domain names on that one server,
or 500 open ports or 500 subfolders (ie, subfolder sites), or
is that 500 sites on a multi-plex of servers with something in
common?

It's got me wondering, now. Very cool. Thanks for the link!

> To find out the server type of a domain I use
> http://news.netcraft.com/.

For the server type, I use idserve.exe from GRC.
http://www.grc.com/default.htm

--
Jim Carlock
Post replies to the newsgroup, thanks.



George Bashore
Guillermo

Here is a link to explain databases on the web.
http://www.microsoftfrontpage.com/content/articles/datintro.html

You must use a server that support asp (which are scripts to provide the
necessary interaction with the server and to allow visitors to the web page
to see updated data every time they visit) files such as www.brinkster.com

information is stored in global.asa as a database connection

George



"Guillermo" wrote in message
news:5D511BB9-A8DB-4D49-8177-E491E295E7DA@microsoft.com...
> Gentlemen,
> My VB6 application works great on my PC.
> Now I have to upload it to my website, together with the database.
> How do I set the Data1.Database property?.
> Will it take an "http"://www....." URL as valid?.
> Thanks. Guillermo.



Veign
In a shared environment each site is on the same IP address (or two).
Basically the DNS server will issue the IP address of the server, which
would be the same, and the web server feeds back data based on the second
level domain requested.

To test this just put the IP address in a browsers of a shared server. No
website will be displayed - some holding page or default information will be
feed back.

In the case of the OP's site a vDeck holding page is issued when a user
attempts to enter the server on the IP.

This is the reason why static IP addresses are desired: faster access as no
DNS lookup has to occur because the IP relating to the domain can be cached,
and you can access the site directly through the IP...

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


"Jim Carlock" wrote in message
news:ODBVPF22FHA.3880@TK2MSFTNGP12.phx.gbl...
> "Veign" wrote:
>> How many websites hosted on a server I use www.whois.sc.
>
> That's pretty cool. I like it. But...
>
> Now I started asking... what exactly does that report and
> how does that report that?
>
> I'm thinking it shoots the name of the server out there, and the
> DNS server replies with an IP address. But all subsites aren't
> going to use that same IP address. Each site gets its own IP
> address, right? So is that 500 domain names on that one server,
> or 500 open ports or 500 subfolders (ie, subfolder sites), or
> is that 500 sites on a multi-plex of servers with something in
> common?
>
> It's got me wondering, now. Very cool. Thanks for the link!
>
>> To find out the server type of a domain I use
>> http://news.netcraft.com/.
>
> For the server type, I use idserve.exe from GRC.
> http://www.grc.com/default.htm
>
> --
> Jim Carlock
> Post replies to the newsgroup, thanks.
>
>



Veign
"Jim Carlock" wrote in message
news:ODBVPF22FHA.3880@TK2MSFTNGP12.phx.gbl...
> "Veign" wrote:
>> To find out the server type of a domain I use
>> http://news.netcraft.com/.
>
> For the server type, I use idserve.exe from GRC.
> http://www.grc.com/default.htm
>

I like that..Fast and simple for the server information. Netcraft provides
a but more information but good for just getting the server information.

> --
> Jim Carlock
> Post replies to the newsgroup, thanks.
>
>

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



Jim Carlock
"Guillermo" wrote:
> In the same website, one application works fine and another
> one doesn't because it can't link to the database, which is all
> I needed.

> "Guillermo" asked:
> Gentlemen,
> My VB6 application works great on my PC.
> Now I have to upload it to my website, together with the database.
> How do I set the Data1.Database property?.
> Will it take an "http"://www....." URL as valid?.

The Data1 control looks for one of several things.
1) A drive:\path\filename.db, or
2) A network path, \\linkedname-or-servername\path\filename.db,
or
3) An ODBC configuration.

It doesn't work per se over port 80 and is not Internet aware.
I think the easiest way would to supply a database with the
application. Maybe an Access .mdb with the data. This
means the application comes zipped up with the database and
the data is freely available.

Another way would be get a webpage setup to present an
XML page with the data. You'll need to learn a little about
XML but I'm pretty sure the data control can use an XML
file as a database. The XML file would provide a way for
web-browsers to look at the data as well (without the need
for an application to view it).

XML is easy to implement. If you want to take a look at
XML, check out http://www.w3schools.com/xml.

There are some other ways to get the data as well, including
using a winsock control to grab things. This will offer some
security if security is required.

The Data Control ("Data1") looks to make a connection to
a database. HTTP (a protocol) uses it's own protocol for
getting data.

Hope this helps.

--
Jim Carlock
Post replies to the newsgroup, thanks.

"Veign" wrote:

> You website is hosted on a server hosting 756 other websites. Imagine the
> damage you could do or information you could gain by executing an EXE on
> that server....
>
> It seems your webhost has mostly Apache servers so there is a good chance
> you will have to use PHP to create a web-based application
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog

"Veign" wrote:
> To answer your question (possibly) you would have to provide the user with
> the database (through a download) and use something that identifies where
> the DB is in relation to the application. You could either use the
> App.Path property to identify where the user put the EXE and database
> (assuming in the same folder) or provide a means for the user to setup
> where the database will reside.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog

"Guillermo" wrote:
> Sure, here it is. It's free.
> http://www.energyworld.org/units.exe
>
> I always thought it was only natural to run applications online. Is it
> not?.
> Thanks. Guillermo.

> "Veign" asked:
>
> Post a URL to one of your applications that can be executed and run
> online.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog

> "Guillermo" wrote:
> Kind of baffled. I'm no genius, but I already have in my website a
> couple of VB6 applications, which can be either executed online
> or dowloaded.
> They've been running smoothly for a couple of years.

> The problem now is the connection to a web based database, through any
> possible means. Thanks. Guillermo.