Re: Make a Windows Service start a windows program.
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Wed, 22 Feb 2006 17:28:04 +0100
"UJ" <fred@xxxxxxxxxxx> wrote in message
news:eAFd7Q7NGHA.4052@xxxxxxxxxxxxxxxxxxxxxxx
| Is there any way for a windows service to start a windows program ? I have
a
| service that will need to restart a windows app if it needs to.
|
| TIA - Jeff.
|
|
No there is no (easy, secure and portable) way to do this. A windows service
runs in a sandboxed non visible desktop, a process started from a service
inherits the same UI context so it will run in the same desktop, second the
service does not run in the security context of a logon user (if any), that
means that the lauched application won't have access to an interactive user
profile, so chances are that it fails to initialize when environmant
variables or profile setting are needed.
Willy.
.
- Follow-Ups:
- Re: Make a Windows Service start a windows program.
- From: KBuser
- Re: Make a Windows Service start a windows program.
- References:
- Prev by Date: deserialize to C# class from external config file?
- Next by Date: Re: Webservice question
- Previous by thread: Make a Windows Service start a windows program.
- Next by thread: Re: Make a Windows Service start a windows program.
- Index(es):
Relevant Pages
|