Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
QuestionGetting this Error message....any one know y??? Pin
S K Y10-Mar-09 20:27
S K Y10-Mar-09 20:27 
QuestionRe: Getting this Error message....any one know y??? Pin
Goobashi10-Mar-09 22:04
Goobashi10-Mar-09 22:04 
GeneralRe: Getting this Error message....any one know y??? Pin
S K Y10-Mar-09 22:31
S K Y10-Mar-09 22:31 
AnswerRe: Getting this Error message....any one know y??? Pin
Eddy Vluggen10-Mar-09 22:12
professionalEddy Vluggen10-Mar-09 22:12 
GeneralRe: Getting this Error message....any one know y??? Pin
S K Y10-Mar-09 22:34
S K Y10-Mar-09 22:34 
GeneralRe: Getting this Error message....any one know y??? Pin
Eddy Vluggen10-Mar-09 22:40
professionalEddy Vluggen10-Mar-09 22:40 
GeneralRe: Getting this Error message....any one know y??? Pin
S K Y10-Mar-09 22:48
S K Y10-Mar-09 22:48 
QuestionRemoting -how to decide which Delegate i need to Invoke (Private Msgs) Pin
michael@cohen10-Mar-09 20:21
michael@cohen10-Mar-09 20:21 
Hello

Im writing a simple messenger and im having trouble with the
"Private Messages"

i worte the shared object between the clinet and the server
later all the clients subscribe to the server events Let Say "User Send Message" event

Now ,Let say that User "michael" wants to send Message to "liron"
So im iterating in server side on each Subscriber ,

How can i know which of the subscribers are "liron"?
can i find any value that identify "liron "?

UserSendMsgHandler messageDelegate = null;
                Delegate[] invocationList_ = null;
                try
                {
                    invocationList_ = onUserSendMsg.GetInvocationList();
                }
                catch 
                {
                    
                }
                if (invocationList_ != null)
                {
                    lock (this)
                    {
                        foreach (Delegate del in invocationList_)
                        {
                            try
                            {
                                messageDelegate = (UserSendMsgHandler)del;
                                
                                messageDelegate(Msg,Sender,Receivers[0]);
                            }
                            catch
                            {
                                onUserSendMsg -= messageDelegate;
                            }
                        }
                    }
                }

QuestionHow to store and retrieve multiple values in a generic list? Pin
meeram39510-Mar-09 20:08
meeram39510-Mar-09 20:08 
AnswerRe: How to store and retrieve multiple values in a generic list? Pin
Christian Graus10-Mar-09 20:09
protectorChristian Graus10-Mar-09 20:09 
GeneralRe: How to store and retrieve multiple values in a generic list? Pin
meeram39510-Mar-09 20:13
meeram39510-Mar-09 20:13 
GeneralRe: How to store and retrieve multiple values in a generic list? Pin
Christian Graus10-Mar-09 20:19
protectorChristian Graus10-Mar-09 20:19 
AnswerRe: How to store and retrieve multiple values in a generic list? Pin
jaypatel51211-Mar-09 2:32
jaypatel51211-Mar-09 2:32 
QuestionDOUBT Pin
leela antony10-Mar-09 20:05
leela antony10-Mar-09 20:05 
AnswerRe: DOUBT Pin
Ashfield10-Mar-09 21:56
Ashfield10-Mar-09 21:56 
AnswerRe: DOUBT Pin
Eddy Vluggen10-Mar-09 22:20
professionalEddy Vluggen10-Mar-09 22:20 
AnswerRe: DOUBT Pin
CPallini10-Mar-09 23:11
mveCPallini10-Mar-09 23:11 
QuestionDOUBT Pin
leela antony10-Mar-09 20:04
leela antony10-Mar-09 20:04 
AnswerRe: DOUBT Pin
Nagy Vilmos10-Mar-09 22:30
professionalNagy Vilmos10-Mar-09 22:30 
Questiondoubt Pin
tinajohny10-Mar-09 20:03
tinajohny10-Mar-09 20:03 
Questiondoubt Pin
leela antony10-Mar-09 20:03
leela antony10-Mar-09 20:03 
Questiondoubt Pin
leela antony10-Mar-09 20:00
leela antony10-Mar-09 20:00 
AnswerRe: doubt Pin
Roger Wright10-Mar-09 20:14
professionalRoger Wright10-Mar-09 20:14 
GeneralRe: doubt Pin
Christian Graus10-Mar-09 20:19
protectorChristian Graus10-Mar-09 20:19 
GeneralRe: doubt Pin
Roger Wright10-Mar-09 20:33
professionalRoger Wright10-Mar-09 20:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.