Click here to Skip to main content
15,886,664 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regex Match counting problem Pin
Gideon Engelberth2-Aug-08 2:22
Gideon Engelberth2-Aug-08 2:22 
QuestionLabel Text Pin
nelsonpaixao1-Aug-08 14:13
nelsonpaixao1-Aug-08 14:13 
AnswerRe: Label Text Pin
MarkB7771-Aug-08 14:45
MarkB7771-Aug-08 14:45 
AnswerRe: Label Text Pin
DaveyM691-Aug-08 21:13
professionalDaveyM691-Aug-08 21:13 
AnswerRe: Label Text Pin
Thomas Stockwell2-Aug-08 7:34
professionalThomas Stockwell2-Aug-08 7:34 
QuestionHow to use Queue.Synchronized Pin
JoeRip1-Aug-08 13:58
JoeRip1-Aug-08 13:58 
AnswerRe: How to use Queue.Synchronized Pin
Mark Salsbery1-Aug-08 14:27
Mark Salsbery1-Aug-08 14:27 
GeneralRe: How to use Queue.Synchronized Pin
JoeRip1-Aug-08 15:02
JoeRip1-Aug-08 15:02 
Thanks for the response. Okay, so the Sync wrapper persistently replaces the Q itself, and it is the object I should pass around between methods, etc. That was not entirely clear to me before.

This should probably work for what I'm doing; I spawn a listener object on a new thread, which listens for events from a COM object. My main thread passes various Queues to the spawned object (actually, sets them as properties), and the spawned object, when it receives messages, puts a notation in the queue(s).

My main thread polls the queue, dequeuing any notations it finds.

So there's no enumerating or indexing, I think. Of course, I haven't written it yet... Smile | :)
GeneralRe: How to use Queue.Synchronized Pin
Mark Salsbery1-Aug-08 15:12
Mark Salsbery1-Aug-08 15:12 
QuestionDataGridView Navigation (i bet it´s easy) Pin
nelsonpaixao1-Aug-08 13:29
nelsonpaixao1-Aug-08 13:29 
QuestionHow do I make this code display the contents of the stack at the top of the text box.? Pin
Angelinna1-Aug-08 12:15
Angelinna1-Aug-08 12:15 
AnswerRe: How do I make this code display the contents of the stack at the top of the text box.? Pin
Guffa1-Aug-08 12:51
Guffa1-Aug-08 12:51 
GeneralRe: How do I make this code display the contents of the stack at the top of the text box.? Pin
Angelinna1-Aug-08 13:54
Angelinna1-Aug-08 13:54 
GeneralRe: How do I make this code display the contents of the stack at the top of the text box.? Pin
Lim Yuxuan1-Aug-08 17:53
Lim Yuxuan1-Aug-08 17:53 
GeneralRe: How do I make this code display the contents of the stack at the top of the text box.? Pin
Angelinna1-Aug-08 20:34
Angelinna1-Aug-08 20:34 
QuestionDesktop News Ticker Pin
wajans1-Aug-08 6:51
wajans1-Aug-08 6:51 
AnswerMessage Closed Pin
1-Aug-08 7:44
Bassam Saoud1-Aug-08 7:44 
GeneralRe: Hard drives Pin
Nish Nishant28-Oct-11 10:57
sitebuilderNish Nishant28-Oct-11 10:57 
AnswerRe: Desktop News Ticker Pin
Paul Conrad1-Aug-08 8:20
professionalPaul Conrad1-Aug-08 8:20 
GeneralRe: Desktop News Ticker Pin
wajans1-Aug-08 8:30
wajans1-Aug-08 8:30 
GeneralRe: Desktop News Ticker Pin
Paul Conrad1-Aug-08 8:34
professionalPaul Conrad1-Aug-08 8:34 
GeneralRe: Desktop News Ticker Pin
wajans1-Aug-08 9:07
wajans1-Aug-08 9:07 
GeneralRe: Desktop News Ticker Pin
nelsonpaixao1-Aug-08 13:56
nelsonpaixao1-Aug-08 13:56 
QuestionCalling a 32-bit .NET dll from a 64-bit .NET application [modified] Pin
Phil J Pearson1-Aug-08 5:29
Phil J Pearson1-Aug-08 5:29 
AnswerRe: Calling a 32-bit .NET dll from a 64-bit .NET application Pin
vikas amin1-Aug-08 8:25
vikas amin1-Aug-08 8:25 

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.