Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > calling web pages from msdos applications

Reply
Thread Tools

calling web pages from msdos applications

 
 
Paul
Guest
Posts: n/a
 
      06-26-2009
I don't know if this is the right news group, but my question is this:

is it possible opening a web page using a compiled (*.exe) application written in GWBasic?
Thank you
Paul
 
Reply With Quote
 
 
 
 
Harlan Messinger
Guest
Posts: n/a
 
      06-26-2009
Paul wrote:
> I don't know if this is the right news group, but my question is this:
>
> is it possible opening a web page using a compiled (*.exe) application
> written in GWBasic?


Dear 1987,

Open it in what? If you're running MS DOS, your web browser will
probably be Lynx or something like that, and you can execute it from
your GWBasic program in whatever way GWBasic makes available to launch
any MS DOS executable.
 
Reply With Quote
 
 
 
 
Paul
Guest
Posts: n/a
 
      06-26-2009

"Harlan Messinger" <> ha scritto nel messaggio
news:...
> Paul wrote:
>> I don't know if this is the right news group, but my question is this:
>>
>> is it possible opening a web page using a compiled (*.exe) application written in GWBasic?

>
> Dear 1987,
>
> Open it in what? If you're running MS DOS, your web browser will probably be Lynx or something like that, and you can
> execute it from your GWBasic program in whatever way GWBasic makes available to launch any MS DOS executable.


Well, in my pc I am using windows XP + IE7 and some applications written by me in Basic in the previous century...
I still use these applications for my work as they are very useful for me, for my needs.
My question is if those old applications could be able to interact with web, calling in example a web page.
If so, I'd like to try something I have in mind.
Thank you,
Paul

 
Reply With Quote
 
David Segall
Guest
Posts: n/a
 
      06-26-2009
"Paul" <> wrote:

>I don't know if this is the right news group, but my question is this:
>
>is it possible opening a web page using a compiled (*.exe) application written in GWBasic?
>


If you want to use the GWBasic OPEN statement to access the page using
GWBasic READ or LINE INPUT statements I am fairly sure you can't but
this is definitely the wrong news group. If you just want to show the
page to the user you could use the SHELL statement to invoke an
external browser.
 
Reply With Quote
 
Harlan Messinger
Guest
Posts: n/a
 
      06-26-2009
Paul wrote:
>
> "Harlan Messinger" <> ha scritto nel
> messaggio news:...
>> Paul wrote:
>>> I don't know if this is the right news group, but my question is this:
>>>
>>> is it possible opening a web page using a compiled (*.exe)
>>> application written in GWBasic?

>>
>> Dear 1987,
>>
>> Open it in what? If you're running MS DOS, your web browser will
>> probably be Lynx or something like that, and you can execute it from
>> your GWBasic program in whatever way GWBasic makes available to launch
>> any MS DOS executable.

>
> Well, in my pc I am using windows XP + IE7 and some applications written
> by me in Basic in the previous century...
> I still use these applications for my work as they are very useful for
> me, for my needs.
> My question is if those old applications could be able to interact with
> web, calling in example a web page.
> If so, I'd like to try something I have in mind.


Ah. OK, then assuming you have the capability of having your code
execute *any* EXE file on your computer, with arguments, have it execute

C:\Program Files\Internet Explorer\iexplore http://www.google.com/

for example. If you test this from the command line (and possibly in
your program) you'll need to put the first part between double quotes
because of the spaces embedded in the path:

"C:\Program Files\Internet Explorer\iexplore" http://www.google.com/
 
Reply With Quote
 
Jan C. Faerber
Guest
Posts: n/a
 
      06-30-2009
On 26 Jun., 20:27, Harlan Messinger
<hmessinger.removet...@comcast.net> wrote:

> > My question is if those old applications could be able to interact with
> > web, calling in example a web page.
> > If so, I'd like to try something I have in mind.

>
> Ah. OK, then assuming you have the capability of having your code
> execute *any* EXE file on your computer, with arguments, have it execute
>
> C:\Program Files\Internet Explorer\iexplorehttp://www.google.com/
>
> for example. If you test this from the command line (and possibly in
> your program) you'll need to put the first part between double quotes
> because of the spaces embedded in the path:
>
> "C:\Program Files\Internet Explorer\iexplore"http://www.google.com/


Use

START http://www.google.com

in the ms dos cmd line to open google's hp in your default webbrowser.
 
Reply With Quote
 
Harlan Messinger
Guest
Posts: n/a
 
      06-30-2009
Jan C. Faerber wrote:
> On 26 Jun., 20:27, Harlan Messinger
> <hmessinger.removet...@comcast.net> wrote:
>
>>> My question is if those old applications could be able to interact with
>>> web, calling in example a web page.
>>> If so, I'd like to try something I have in mind.

>> Ah. OK, then assuming you have the capability of having your code
>> execute *any* EXE file on your computer, with arguments, have it execute
>>
>> C:\Program Files\Internet Explorer\iexplorehttp://www.google.com/
>>
>> for example. If you test this from the command line (and possibly in
>> your program) you'll need to put the first part between double quotes
>> because of the spaces embedded in the path:
>>
>> "C:\Program Files\Internet Explorer\iexplore"http://www.google.com/

>
> Use
>
> START http://www.google.com
>
> in the ms dos cmd line to open google's hp in your default webbrowser.


He said he wants to do this from a program, not by typing at the command
line.
 
Reply With Quote
 
Jan C. Faerber
Guest
Posts: n/a
 
      07-01-2009
On 30 Jun., 16:38, Harlan Messinger
<hmessinger.removet...@comcast.net> wrote:

> He said he wants to do this from a program, not by typing at the command
> line.


Then he should be able in invoke a batch file.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple applications/multiple web.configs: how to structure a big collection of (seemingly) nested web applications? ASP .Net 3 06-14-2007 09:25 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net 5 01-10-2007 10:50 AM
Calling ASP.NET pages between 2 different applications =?Utf-8?B?VmxhZA==?= ASP .Net 4 11-11-2005 04:16 PM
web applications versus. web portal applications John Davis ASP General 0 08-21-2003 12:11 AM
web applications versus. web portal applications John Davis ASP .Net 0 08-21-2003 12:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57