Click here to Skip to main content
15,920,688 members
Home / Discussions / C#
   

C#

 
AnswerRe: A Service to Kill Processes Pin
leppie18-Oct-07 4:50
leppie18-Oct-07 4:50 
GeneralRe: A Service to Kill Processes Pin
kingletas18-Oct-07 5:04
kingletas18-Oct-07 5:04 
AnswerRe: A Service to Kill Processes Pin
Ian MacLean18-Oct-07 5:07
Ian MacLean18-Oct-07 5:07 
QuestionReading Very Large Text File ... Pin
Davids Maguire18-Oct-07 4:06
Davids Maguire18-Oct-07 4:06 
AnswerRe: Reading Very Large Text File ... Pin
Abhijit Jana18-Oct-07 4:15
professionalAbhijit Jana18-Oct-07 4:15 
AnswerRe: Reading Very Large Text File ... Pin
Colin Angus Mackay18-Oct-07 4:16
Colin Angus Mackay18-Oct-07 4:16 
GeneralRe: Reading Very Large Text File ... Pin
Dan Neely18-Oct-07 5:39
Dan Neely18-Oct-07 5:39 
GeneralRe: Reading Very Large Text File ... Pin
Colin Angus Mackay18-Oct-07 8:10
Colin Angus Mackay18-Oct-07 8:10 
AnswerRe: Reading Very Large Text File ... Pin
Luc Pattyn18-Oct-07 4:24
sitebuilderLuc Pattyn18-Oct-07 4:24 
GeneralRe: Reading Very Large Text File ... Pin
Davids Maguire18-Oct-07 4:32
Davids Maguire18-Oct-07 4:32 
GeneralRe: Reading Very Large Text File ... Pin
Luc Pattyn18-Oct-07 4:38
sitebuilderLuc Pattyn18-Oct-07 4:38 
AnswerRe: Reading Very Large Text File ... Pin
leppie18-Oct-07 4:52
leppie18-Oct-07 4:52 
AnswerRe: Reading Very Large Text File ... Pin
Ennis Ray Lynch, Jr.18-Oct-07 10:01
Ennis Ray Lynch, Jr.18-Oct-07 10:01 
QuestionoleDB, Odbc, DataBase Pin
half-life18-Oct-07 3:37
half-life18-Oct-07 3:37 
AnswerRe: oleDB, Odbc, DataBase Pin
Abhijit Jana18-Oct-07 3:48
professionalAbhijit Jana18-Oct-07 3:48 
GeneralRe: oleDB, Odbc, DataBase Pin
half-life18-Oct-07 3:55
half-life18-Oct-07 3:55 
GeneralRe: oleDB, Odbc, DataBase Pin
Abhijit Jana18-Oct-07 4:09
professionalAbhijit Jana18-Oct-07 4:09 
AnswerRe: oleDB, Odbc, DataBase Pin
J4amieC18-Oct-07 3:54
J4amieC18-Oct-07 3:54 
JokeRe: oleDB, Odbc, DataBase Pin
Abhijit Jana18-Oct-07 4:10
professionalAbhijit Jana18-Oct-07 4:10 
QuestionThreading Problem- a thread that calls two functions Pin
gizmokaka18-Oct-07 3:33
gizmokaka18-Oct-07 3:33 
AnswerRe: Threading Problem- a thread that calls two functions Pin
Luc Pattyn18-Oct-07 4:15
sitebuilderLuc Pattyn18-Oct-07 4:15 
GeneralRe: Threading Problem- a thread that calls two functions Pin
gizmokaka18-Oct-07 5:11
gizmokaka18-Oct-07 5:11 
GeneralRe: Threading Problem- a thread that calls two functions Pin
Luc Pattyn18-Oct-07 5:27
sitebuilderLuc Pattyn18-Oct-07 5:27 
Hi,

I have not checked all the details, but it looks pretty close, yes.

How did you come to use InvokeRequired/Invoke without really understanding it?
I suggest you read some documentation on it if you feel the need to know more.

BTW: there is one optimization you might consider; if chances are nothing needs to be done,
then there is no need to do the Invoke stuff, so you might want to duplicate the looping
stuff in front of everything and rather than invoking itself or calling SetItemChecked, just
set a bool to true to indicate the existing code should be executed.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


GeneralRe: Threading Problem- a thread that calls two functions Pin
gizmokaka18-Oct-07 5:48
gizmokaka18-Oct-07 5:48 
GeneralRe: Threading Problem- a thread that calls two functions Pin
Luc Pattyn18-Oct-07 6:58
sitebuilderLuc Pattyn18-Oct-07 6:58 

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.