Re: Start and exit applcation(s) using Windows Services
- From: "Alex Passos" <bz@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 4 Apr 2005 10:38:00 -0500
Take a look at the Process class in .NET it has functionality for process
control. Here is a link from MSDN to get you started, the section "Managing
Processes" has samples on starting, binding, and stopping processes:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskstartingprocesses.asp
(to execute other applications)
(to terminate processed on demand)
(checks for new versions is outside the scope of process handling)
Alex Passos
"Serg" <Serg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F2EBCBE9-3A83-459D-B91C-8427A1E2CA15@xxxxxxxxxxxxxxxx
> Is it possible to create Windows Services that executes other applications
> (batch files), checks for newer versions (placed to a specific folder)
> and
> terminates them by demand (or as scheduled or as new version arrives)?
>
> It seems that first part - execute application is easier than the last
> one.
>
> Any answer would be appreciated.
.
- Follow-Ups:
- References:
- Prev by Date: Re: deployment of dot net desktop project with crystal reports
- Next by Date: Re: how to launch java application from c# code?
- Previous by thread: Start and exit applcation(s) using Windows Services
- Next by thread: Re: Start and exit applcation(s) using Windows Services
- Index(es):
Relevant Pages
|