Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Hiii


Message #1 by "satish kumar Renugopal" <satishkumar12@r...> on 16 Feb 2001 08:23:58 -0000
Hiii



I have created a .exe file and that file needs to 

be run every one minute from an .asp page.how do i 

do itt...



How can i send a command to execute the .exe from

a .asp file???



please help me out..



Best regards

satish..







Message #2 by "Richard Flapper" <flapper@r...> on Fri, 16 Feb 2001 12:37:31 +0100
Yaiks... ermm... dunno if I would do it in such a way.... wouldn't you want

to write a service that does the running every minute?? But anyhow, you

could develop such a service in setting the refresh time of your page to one

or more minutes (you know, the metatag refresh option). Then, to execute a

program you need a component like AspExec

(http://www.serverobjects.com/products.htm#free) and execute the program in

your page. If the program returns something it will be given to you as a

string.... but you have to leave a browser open with the page in it .... and

this is a *very dirty* solution but it works .. personally, I would invest

the time to build a service in which the program runs. Than you have to

interface from your ASP-page to that program by a component to get the

results (or if you let the program access a database or a file you can read

from the database or file).



Hope this helped a bit.

Cheers,

Richard



----- Original Message -----

From: "satish kumar Renugopal" <satishkumar12@r...>

To: "ASP components" <asp_components@p...>

Sent: Friday, February 16, 2001 9:23 AM

Subject: [asp_components] Hiii





> Hiii

>

> I have created a .exe file and that file needs to

> be run every one minute from an .asp page.how do i

> do itt...

>

> How can i send a command to execute the .exe from

> a .asp file???

>

> please help me out..

>

> Best regards

> satish..

>

>
Message #3 by dont worry <aspmailbox@y...> on Fri, 16 Feb 2001 12:26:24 -0800 (PST)
windows 2000 has schedule task services.


  Return to Index