Click here to Skip to main content
15,904,153 members
Home / Discussions / C#
   

C#

 
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 
QuestionAny idea about how to work with IM? Pin
baburman18-Oct-07 3:33
baburman18-Oct-07 3:33 
AnswerRe: Any idea about how to work with IM? Pin
Abhijit Jana18-Oct-07 3:51
professionalAbhijit Jana18-Oct-07 3:51 
GeneralRe: Any idea about how to work with IM? Pin
baburman18-Oct-07 6:36
baburman18-Oct-07 6:36 
AnswerRe: Any idea about how to work with IM? Pin
User 665818-Oct-07 3:56
User 665818-Oct-07 3:56 
GeneralRe: Any idea about how to work with IM? Pin
Abhijit Jana18-Oct-07 4:51
professionalAbhijit Jana18-Oct-07 4:51 
Questiongloabal variable Pin
kabutar18-Oct-07 3:18
kabutar18-Oct-07 3:18 
AnswerRe: gloabal variable Pin
Abhijit Jana18-Oct-07 3:43
professionalAbhijit Jana18-Oct-07 3:43 
GeneralRe: gloabal variable Pin
kabutar18-Oct-07 3:51
kabutar18-Oct-07 3:51 
GeneralRe: gloabal variable Pin
rajansethi18-Oct-07 4:52
rajansethi18-Oct-07 4:52 
AnswerRe: gloabal variable Pin
Luc Pattyn18-Oct-07 4:02
sitebuilderLuc Pattyn18-Oct-07 4:02 
GeneralCustomization of FxCop Pin
bhaskarsri18-Oct-07 2:26
bhaskarsri18-Oct-07 2:26 
GeneralRe: Customization of FxCop Pin
Scott Dorman18-Oct-07 4:08
professionalScott Dorman18-Oct-07 4:08 
GeneralRe: Customization of FxCop Pin
bhaskarsri18-Oct-07 17:35
bhaskarsri18-Oct-07 17:35 
GeneralRe: Customization of FxCop Pin
Scott Dorman19-Oct-07 6:32
professionalScott Dorman19-Oct-07 6:32 
Questionsetup package Pin
md_refay18-Oct-07 2:11
md_refay18-Oct-07 2:11 

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.