Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi i am creating a windows application and i have set of logged in users in my database and also i have the details of the users who are currently logged in.
My problem is i should send some popup messages or notification to the users who are currently logged in that the user is sending or posting some problems to u

Can anyone please help in this regard

Thank u
venkataram
Posted

Hi,

If you are using windows application then why can't you use MessageBox("Your Message");

Regards,

Nilesh Shah.
 
Share this answer
 
Comments
venkataramreddy 24-May-10 6:21am    
kThen how can i send the message to the logged in user
and he should know that some others has emailed or posted some messages to them can u help it in this way

Actually what i have is i have set of currently logged in users in one listview and i want to send notification to the user about the message posted or he should get the message from the messages posted user
Send an email. I personally hate popup messages because you usually have to dismiss them before doing anything else.
 
Share this answer
 
Comments
venkataramreddy 24-May-10 6:21am    
ok
Then how can i send the message to the logged in user
and he should know that some others has emailed or posted some messages to them can u help it in this way

Actually what i have is i have set of currently logged in users in one listview and i want to send notification to the user about the message posted or he should get the message from the messages posted user
Hi venkataram:

Let's consider with the two scenario..
Scenario-1:
If your app run in a LAN you can simply use TCP/IP Socket, as we do in chat.
Scenario-2:
If you have any database in your app, you can create a simple message table with the column MessageForm, MessageTo, Body, ReadFlag and some other may consider base on your requirement. Add a simple functionality in your app to popup the message based on the user logged and update the flag.
 
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