Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
2.60/5 (5 votes)
See more:
I want to create an app that should be installed on users computer as a windows service app and should popup a notification message on users PC just like the windows popup messages at the task bar. The reason for this is that we have several users in the company and many a time we need to notify the users something. This notification should be done automatically by the system. So I am planning to create a database where we can enter the messages and this app will read it and display in the users screen. Is anyone have created such an app, any help is appreciated.
Posted
Comments
[no name] 23-May-14 16:35pm    
If you are set on this design, you need 2 applications. 1 windows service and the other to display the notification. Service cannot interact with the desktop to show messages so you need the 2nd application to do that. Use an IPC mechanism to communicate between the 2 applications.
BillWoodruff 23-May-14 20:37pm    
Try searching CodeProject first.

1 solution

You don't need a Windows Service app at all. They can't access the users desktop so it's not going to be able to show a message box to the user.

All you need is a normal Windows Forms or WPF app and launch it from the Run key, which will launch the application every time a user logs on. The app can listen for messages from your server application that pushes notifications and display them however you want.

This is basically a chat application. There's tons of examples on the web. All you need to do is search for "c# chat".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900