To generate a pop up from windows service..
-
Hi all, The problem is I am unable to generate the an alert/popup from a windows service. Can any body has got the solution for generating it. Please help. Its urgent. :( Thanks in Advance Ankur
-
Hi all, The problem is I am unable to generate the an alert/popup from a windows service. Can any body has got the solution for generating it. Please help. Its urgent. :( Thanks in Advance Ankur
It can be done in round round way.. 1) Create another application ie form application and create a property that will be displayed as the message. 2) When you require to show the message create the object of this Form and set the property to the message you want and call the Show() Method. 3) Now go to your service right click > Properties > In the first tab you will find some check box called "Allow the service to interact with desktop") and restart the service. Note : It is highly discouraged to set the option "Allow the service to interact with desktop".
Thanks Laddie Kindly rate if the answer was helpful