For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2008 > Executing programs in "background"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Executing programs in "background"
wstach@gmail.com

2008-03-28, 6:57 pm

Hi,

I'm using Windows XP, IIS & ASP to develop a web service that executes
several programs (command line .exe files) on a server, shows next
webpage with info on progress in execution, and presents the results
page. Basically, on the first webpage (html) user chooses which
programs are to be executed, and then an asp script runs the programs
on the server.

The problem is that I don't know how to run these programs in
"background" such that my webpage with "progress info" can be loaded
and refreshed. Each program generates a file, so it is easy to figure
out which programs are complete. At the end of the day, I would like
to have a list of programs with labels "incomplete" or "complete". The
webpage should refresh every couple of seconds.

So far I have put the sequence of programs to be executed in asp file
and it is working, but I cannot display/refresh the webpage during the
execution. The webpage is being displayed after all programs are
complete.

Any suggestions are very appreciated...

Thanks in advance,
Wojciech
Mike Brind

2008-03-29, 7:56 am


<wstach@gmail.com> wrote in message
news:abb93750-09f3-4ca3-aafb-0418d9b4644e@e23g2000prf.googlegroups.com...
> Hi,
>
> I'm using Windows XP, IIS & ASP to develop a web service that executes
> several programs (command line .exe files) on a server, shows next
> webpage with info on progress in execution, and presents the results
> page. Basically, on the first webpage (html) user chooses which
> programs are to be executed, and then an asp script runs the programs
> on the server.
>
> The problem is that I don't know how to run these programs in
> "background" such that my webpage with "progress info" can be loaded
> and refreshed. Each program generates a file, so it is easy to figure
> out which programs are complete. At the end of the day, I would like
> to have a list of programs with labels "incomplete" or "complete". The
> webpage should refresh every couple of seconds.
>
> So far I have put the sequence of programs to be executed in asp file
> and it is working, but I cannot display/refresh the webpage during the
> execution. The webpage is being displayed after all programs are
> complete.
>
> Any suggestions are very appreciated...
>
> Thanks in advance,
> Wojciech


http://www.webconcerns.co.uk/javasc...progressbar.asp
http://www.atgconsulting.com/progressbar.asp
etc...

--
Mike Brind


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com