Re: Start and exit applcation(s) using Windows Services

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.


.



Relevant Pages

  • Re: Start and exit applcation(s) using Windows Services
    ... "Alex Passos" wrote: ... >> Is it possible to create Windows Services that executes other applications ... >> terminates them by demand? ... >> It seems that first part - execute application is easier than the last ...
    (microsoft.public.dotnet.languages.csharp)
  • Requested Registry Access is Not Allowed
    ... We have several applications that will be executing on multiple machines. ... will execute the apps. ... There are Permission Sets within the framework configuration tool, ... The app fails on the WriteEntry and the exception that is thrown is ...
    (microsoft.public.dotnet.framework)
  • RE: Requested Registry Access is Not Allowed
    ... > We have several applications that will be executing on multiple machines. ... > will execute the apps. ... > There are Permission Sets within the framework configuration tool, ... > machine that the app will run. ...
    (microsoft.public.dotnet.framework)
  • Re: Sabotaged PaXtest (was: Re: Patch 4/6 randomize the stack pointer)
    ... so exactly how many applications use multithreading (or otherwise ... i think you're missing the whole point of paxtest. ... shellcode is a circumventible memory protection, then guess what, he'll ... execute the shellcode. ...
    (Linux-Kernel)
  • Re: [Full-disclosure] Useless tidbit
    ... You may or may not know that Windows applications often use the registry to ... store information about where to find applications within their file ... Execute: c:\program.exe ...
    (Full-Disclosure)