Bluehost.com Web Hosting $6.95

Running an APP from a Web Page ?

This is a discussion on Running an APP from a Web Page ? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Dear Friends, Enviro: Apache 2.0.54 with a CGI page being shown to viewer. Also, I've done quite ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2005
Mel Smith
 
Posts: n/a
Default Running an APP from a Web Page ?

Dear Friends,

Enviro: Apache 2.0.54 with a CGI page being shown to viewer. Also,
I've done quite a bit of work on localhost but nothing 'live' so far (i.e.,
almost a newbie).

Question :

What do I create on my webpage for the viewer to 'run' an app (c-based
executable) on *their* local machine while they are viewing my page ?

TIA,

-Mel Smith


  #2 (permalink)  
Old 04-19-2005
Si Ballenger
 
Posts: n/a
Default Re: Running an APP from a Web Page ?

On Mon, 18 Apr 2005 11:20:19 -0600, "Mel Smith"
<medsyntel@aol.com> wrote:

>Dear Friends,
>
> Enviro: Apache 2.0.54 with a CGI page being shown to viewer. Also,
>I've done quite a bit of work on localhost but nothing 'live' so far (i.e.,
>almost a newbie).
>
>Question :
>
> What do I create on my webpage for the viewer to 'run' an app (c-based
>executable) on *their* local machine while they are viewing my page ?
>
>TIA,
>
>-Mel Smith


Just put it in your usual web page folder and make a link to it.
When the link is clicked, the client will be given a choise to
run, download, or cancel. Then all they have to do is click run.
But you know they would be total idiots to do that. ;-)
  #3 (permalink)  
Old 04-19-2005
Mel Smith
 
Posts: n/a
Default Re: Running an APP from a Web Page ?

Si says:

>
> Just put it in your usual web page folder and make a link to it.
> When the link is clicked, the client will be given a choise to
> run, download, or cancel. Then all they have to do is click run.
> But you know they would be total idiots to do that. ;-)


Si,

To clarify my question:

The app (i.e., a c-based executable) is on *their* local machine. When
my client visits my website, I want a button or link on my webpage so that
when it is clicked, my app starts running and does some database work, some
security work, then starts up an FTP process to send/retrieve files
to/frommy FTP Server, then exits so that the user can do more 'clicking' on
my page or exit.

So, did I understand you correctly, that they would have an option to
'download' the app (when it is already on their machine) ??

TIA for a bit more advice

-Mel Smith




  #4 (permalink)  
Old 04-19-2005
Si Ballenger
 
Posts: n/a
Default Re: Running an APP from a Web Page ?

On Mon, 18 Apr 2005 18:46:47 -0600, "Mel Smith"
<medsyntel@aol.com> wrote:

>Si says:
>
>>
>> Just put it in your usual web page folder and make a link to it.
>> When the link is clicked, the client will be given a choise to
>> run, download, or cancel. Then all they have to do is click run.
>> But you know they would be total idiots to do that. ;-)

>
>Si,
>
> To clarify my question:
>
> The app (i.e., a c-based executable) is on *their* local machine. When
>my client visits my website, I want a button or link on my webpage so that
>when it is clicked, my app starts running and does some database work, some
>security work, then starts up an FTP process to send/retrieve files
>to/frommy FTP Server, then exits so that the user can do more 'clicking' on
>my page or exit.
>
> So, did I understand you correctly, that they would have an option to
>'download' the app (when it is already on their machine) ??
>
>TIA for a bit more advice


Since you should know where the file to run is located on their
machine, make a batch file for them to download or run to do the
deed. Some anti virus software may object to such activities. You
might try something like below.

@echo off
start "%windir%\Program Files\my_ftp_program.exe"
  #5 (permalink)  
Old 04-19-2005
Mel Smith
 
Posts: n/a
Default Re: Running an APP from a Web Page ?

Si says:

> Since you should know where the file to run is located on their
> machine, make a batch file for them to download or run to do the
> deed. Some anti virus software may object to such activities. You
> might try something like below.
>
> @echo off
> start "%windir%\Program Files\my_ftp_program.exe"


Si,

Yes, I certainly know where on *their* machine the .exe is located, and
I certainly know and use the 'Start' command form my other apps (e.g.,,
starting a report writer), *but* what/where/how on my webpage (where my user
is currently gazing) do I put something for them to 'click' on to get the
ball rolling ??

TIA,

-Mel Smith



  #6 (permalink)  
Old 04-19-2005
Si Ballenger
 
Posts: n/a
Default Re: Running an APP from a Web Page ?

On Tue, 19 Apr 2005 09:02:18 -0600, "Mel Smith"
<medsyntel@aol.com> wrote:

>Si says:
>
>> Since you should know where the file to run is located on their
>> machine, make a batch file for them to download or run to do the
>> deed. Some anti virus software may object to such activities. You
>> might try something like below.
>>
>> @echo off
>> start "%windir%\Program Files\my_ftp_program.exe"

>
>Si,
>
> Yes, I certainly know where on *their* machine the .exe is located, and
>I certainly know and use the 'Start' command form my other apps (e.g.,,
>starting a report writer), *but* what/where/how on my webpage (where my user
>is currently gazing) do I put something for them to 'click' on to get the
>ball rolling ??


Try putting the batch file in a folder on your webserver and make
an html link to it like below on your web page.

<a href="http://your.webserver.com/ringin.bat" >Click here to get
the ringin batch file</a>

Below is a ringin bat file you can experiment with (copy and
paste in notepad and save as ringin.bat). It has sndrec32 play
the ringin wave file on a windows computer. It should pretty much
duplicate what you want to do. You can put the ringin.bat file on
your desktop, double click it, and see if it plays the ringin.wav
file.

@echo off
start sndrec32.exe /play /close %windir%\media\ringin.wav
  #7 (permalink)  
Old 04-20-2005
Mel Smith
 
Posts: n/a
Default Re: Running an APP from a Web Page ?

Si,

Thanks, I'll give it a try !

-Mel Smith

>
> Try putting the batch file in a folder on your webserver and make
> an html link to it like below on your web page.
>
> <a href="http://your.webserver.com/ringin.bat" >Click here to get
> the ringin batch file</a>
>
> Below is a ringin bat file you can experiment with (copy and
> paste in notepad and save as ringin.bat). It has sndrec32 play
> the ringin wave file on a windows computer. It should pretty much
> duplicate what you want to do. You can put the ringin.bat file on
> your desktop, double click it, and see if it plays the ringin.wav
> file.
>
> @echo off
> start sndrec32.exe /play /close %windir%\media\ringin.wav



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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




All times are GMT +1. The time now is 11:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0