It is possible, in principle, to set the property "enable the service to
interact with the desktop", which would allow it to show a user interface.
However, this is not recommended. The "normal" way of providing a UI for
a Service is to write an ordinary Windows application to show the interface,
and then have this application interact with the service by means of some
method of interprocess comunication, such as .Net Remoting, for instance.
You don't. You should not have a service try and use user interface
elements. Rather, you should have the service expose an endpoint (through
remoting or WCF) and have a separate program access that endpoint in order
to display things to the user about the service.
Hope this helps.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.