|
-
Jun 4th, 2009, 04:36 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Windows Services
Hi everyone,
I have written a windows service that is meant to launch a notepad when a specific action happens.
The problem i have is that even though the service launches notepad, the actual notepad it self is NOT visible.
I know that it has been launced because i can see the process in the task manager.
By the way the process is listed as a SYSTEM process rather than a process under my user name (i believe that is because my process is a "LocalSystem" one).
Does anyone know why the notepad does not become visible?
Cheers,
--Stav.
-
Jun 4th, 2009, 06:00 AM
#2
Re: Windows Services
Your service is not running under your user, so any programs it starts are not displayed on your user's desktop. Why would a Windows service run notepad anyway?
-
Jun 4th, 2009, 06:11 AM
#3
Thread Starter
Addicted Member
Re: Windows Services
Hi and thanks for the reply,
Actually what i am trying to do is run another application that i have written that displays an interface but that was not working either so i thought i should try with a simple notepad first and see if i could make that work.
Do you have any suggestions on how to fix this issue?
I have tried to make my service a user service but when i try to install it:
If i set the user name and password to "nothing" i get prompted for them and then the installation fails
If i set values to the user name and password (in the InitializeComponent) i get a message saying:
"The trust relationship between this workstation and the primary domain failed"
Again thanks for the reply,
Cheers,
--Stav.
-
Jun 4th, 2009, 06:25 AM
#4
-
Jun 4th, 2009, 06:39 AM
#5
Thread Starter
Addicted Member
Re: Windows Services
Fantastic that worked!!!
Thank you very much!!!
--Stav.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|