Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL Windows Server Forms
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 24-May-10 1:12am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
If you are using windows application then why can't you use MessageBox("Your Message");
 
Regards,
 
Nilesh Shah.
  Permalink  
Comments
venkataramreddy at 24-May-10 6:21am
   
k
 
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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Send an email. I personally hate popup messages because you usually have to dismiss them before doing anything else.
  Permalink  
Comments
venkataramreddy at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 330
1 Sergey Alexandrovich Kryukov 279
2 BillWoodruff 245
3 Afzaal Ahmad Zeeshan 215
4 CPallini 205
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 24 May 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100