Home All Groups Group Topic Archive Search About

Service starting Notepad not showing in tasklist

Author
20 May 2006 1:57 AM
tshad
I have a Windows Service I am trying to get to work, which is not working
correct, but one of the things it does is start Notepad.exe.

The program seems to be doing this and it shows in the Tasklist, but I don't
see it running.  When I kill it from the Tasklist, it starts back up again
(it shows in the Tasklist), but again I can't see it.

Why is that?

Thanks,

Tom

Author
20 May 2006 6:08 AM
Chris
tshad wrote:
Show quoteHide quote
> I have a Windows Service I am trying to get to work, which is not working
> correct, but one of the things it does is start Notepad.exe.
>
> The program seems to be doing this and it shows in the Tasklist, but I don't
> see it running.  When I kill it from the Tasklist, it starts back up again
> (it shows in the Tasklist), but again I can't see it.
>
> Why is that?
>
> Thanks,
>
> Tom
>
>

By default windows services do not interact with the desktop.  This is
by design and usually you do not want a service to have a UI.

Chris
Author
20 May 2006 6:52 PM
Herfried K. Wagner [MVP]
"tshad" <tscheider***@ftsolutions.com> schrieb:
>I have a Windows Service I am trying to get to work, which is not working
>correct, but one of the things it does is start Notepad.exe.
>
> The program seems to be doing this and it shows in the Tasklist, but I
> don't see it running.  When I kill it from the Tasklist, it starts back up
> again (it shows in the Tasklist), but again I can't see it.

See (complete thread):

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/302836ce5d2e2c77>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>