"Martin Arvidsson, Visual Systems AB" <ma**************@vsab.netwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi!
I issue a ExecuteCommand, is there a way to get a response from the service when the
command has been executed?
No, don't forget that you aren't talking to your Service, you are passing a command to the
SCM who, at his turn passes the command to the service, however there is no way for the
service to communicate back to the SCM.
What i want to do is to change an icon on the servicecontroller app, depending on the
command is being executed or is ready.
Assuming you have AutoLog property set to true, for every command that's been executed, the
SCM writes a fail/success message to the eventlog, maybe you can try to read this message.
Another option is to forget about the ServiceController and use remoting to pass user
commands to a service.
Willy.