Windows service controller  
Author Message
hkhalifa





PostPosted: Visual C# General, Windows service controller Top

Hi,

I am created a windows service. I install it with the acount property set to "localservice". i also created a gui that controls the service. I can start and stop it fine but the problem when executing a custom command i get and error "Cannot open SeekWare service on computer '.' " SeekWare is the service name. Someone told me that he fixed this problem by installing with the acount property set to "User" . But i want the service to run no mater which user is logged on. Thanks.



Visual C#19  
 
 
TaylorMichaelL





PostPosted: Visual C# General, Windows service controller Top

A custom command must be in the range of 128-255. If you try to send outside that range I believe you'll get the error you specified.

Michael Taylor - 12/1/06