G
Guest
I have a Windows service application with a public class that inherits from
System.ServiceProcess.ServiceBase
Is it possible to modify this application so that it still is a Windows
service but on the other hand can be started just as if it were a standard
Windows Forms application (e.g. by double clicking the .exe file)?
Background:
I would like to deliver a .exe file to the user who then double clicks it.
The application then offers a UI with options to install itself as service.
For diagnostic purposes it also would be nice to tell the user "Shut down
that service and then double click the .exe" to get an application with UI.
Thanks for any ideas,
Guido
System.ServiceProcess.ServiceBase
Is it possible to modify this application so that it still is a Windows
service but on the other hand can be started just as if it were a standard
Windows Forms application (e.g. by double clicking the .exe file)?
Background:
I would like to deliver a .exe file to the user who then double clicks it.
The application then offers a UI with options to install itself as service.
For diagnostic purposes it also would be nice to tell the user "Shut down
that service and then double click the .exe" to get an application with UI.
Thanks for any ideas,
Guido