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

C#

 
AnswerRe: How to turn off projectors in c# Pin
Pete O'Hanlon19-Oct-12 0:26
mvePete O'Hanlon19-Oct-12 0:26 
QuestionHow To Determine the strings language Pin
mohammadkaab18-Oct-12 6:26
mohammadkaab18-Oct-12 6:26 
AnswerRe: How To Determine the strings language Pin
Eddy Vluggen18-Oct-12 6:30
professionalEddy Vluggen18-Oct-12 6:30 
AnswerRe: How To Determine the strings language Pin
jschell18-Oct-12 9:34
jschell18-Oct-12 9:34 
AnswerRe: How To Determine the strings language Pin
Richard Deeming18-Oct-12 10:53
mveRichard Deeming18-Oct-12 10:53 
QuestionNeeding help with threads and delegates Pin
turbosupramk318-Oct-12 5:00
turbosupramk318-Oct-12 5:00 
AnswerRe: Needing help with threads and delegates Pin
BobJanova18-Oct-12 5:48
BobJanova18-Oct-12 5:48 
GeneralRe: Needing help with threads and delegates Pin
turbosupramk318-Oct-12 6:16
turbosupramk318-Oct-12 6:16 
Hi Bob,

I stumbled upon this link in googling and in one of the comments it was mentioned to set child thread to .IsBackground equaling true, so I did so (see brief code snip) and that seems to have eliminated the errors when closing my program. I'm glad the invoke/begininvoke are the correct way to do things, although I would still like to learn more about delegates and their proper usage.

My limited understanding of them now is that they are (at least in my project) an intermediary with the control on the main form, so that you can instruct the main thread/form thread to do something. It appears to have the ability to insert an item into the main form thread queue of what it is doing. Is that correct?

C#
serviceMonitorThread = new Thread(new ThreadStart(serviceMonitor));
                        serviceMonitorThread.IsBackground = true;
                        serviceMonitorThread.Start();



Updating Your Form from Another Thread without Creating Delegates for Every Type of Update[^]
GeneralRe: Needing help with threads and delegates Pin
BobJanova18-Oct-12 6:58
BobJanova18-Oct-12 6:58 
AnswerRe: Needing help with threads and delegates Pin
Eddy Vluggen18-Oct-12 6:17
professionalEddy Vluggen18-Oct-12 6:17 
GeneralRe: Needing help with threads and delegates Pin
turbosupramk318-Oct-12 6:24
turbosupramk318-Oct-12 6:24 
Questionto send data to an IP address Pin
GzMs18-Oct-12 3:16
GzMs18-Oct-12 3:16 
AnswerRe: to send data to an IP address Pin
Ravi Bhavnani18-Oct-12 3:40
professionalRavi Bhavnani18-Oct-12 3:40 
GeneralRe: to send data to an IP address Pin
GzMs18-Oct-12 4:46
GzMs18-Oct-12 4:46 
GeneralRe: to send data to an IP address Pin
Ravi Bhavnani18-Oct-12 4:57
professionalRavi Bhavnani18-Oct-12 4:57 
AnswerRe: to send data to an IP address Pin
Ingo18-Oct-12 6:06
Ingo18-Oct-12 6:06 
AnswerRe: to send data to an IP address Pin
jschell18-Oct-12 9:39
jschell18-Oct-12 9:39 
QuestionCan save images to a structured text file C#? Pin
Member 245846718-Oct-12 1:27
Member 245846718-Oct-12 1:27 
AnswerRe: Can save images to a structured text file C#? Pin
Eddy Vluggen18-Oct-12 1:39
professionalEddy Vluggen18-Oct-12 1:39 
AnswerRe: Can save images to a structured text file C#? Pin
BobJanova18-Oct-12 5:46
BobJanova18-Oct-12 5:46 
GeneralRe: Can save images to a structured text file C#? Pin
Member 245846721-Nov-12 16:01
Member 245846721-Nov-12 16:01 
Newshow to create send and receive appln Pin
jeny joseph18-Oct-12 0:10
jeny joseph18-Oct-12 0:10 
GeneralRe: how to create send and receive appln Pin
Pete O'Hanlon18-Oct-12 0:41
mvePete O'Hanlon18-Oct-12 0:41 
QuestionVariable declaration. Pin
Sibasisjena17-Oct-12 22:12
professionalSibasisjena17-Oct-12 22:12 
AnswerRe: Variable declaration. Pin
Eddy Vluggen17-Oct-12 22:40
professionalEddy Vluggen17-Oct-12 22:40 

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.