simple question about serviceName when developing a win service
-
when creating a windows service, I wanted to change the ServiceName property - in which IDE Properties window can I find the ServiceName property and change it to whatever name I want??:confused:
From the MSDN documentation. The ServiceName identifies the service to the Service Control Manager. The value of this property must be identical to the name recorded for the service in the ServiceInstaller.ServiceName property of the corresponding installer class. In code, the ServiceName of the service is usually set in the main() function of the executable. There isn't IDE support, you have to write code to set that value.
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon