can a windows service be used to display a message box..?
-
helu.. can a windows service be configured to display a windows control such as a message box or text box for the user... thans ...
-
helu.. can a windows service be configured to display a windows control such as a message box or text box for the user... thans ...
In short no. Service should never interact with desktop directly and depending on windows version it's impossible. However, you can write a desktop application to communicate with the service and place that application for example in system tray. This application can then show a messagebox to the user based on the information received from the service.
The need to optimize rises from a bad design.My articles[^]
-
In short no. Service should never interact with desktop directly and depending on windows version it's impossible. However, you can write a desktop application to communicate with the service and place that application for example in system tray. This application can then show a messagebox to the user based on the information received from the service.
The need to optimize rises from a bad design.My articles[^]
thns very much for the solution...
-
thns very much for the solution...