Click here to Skip to main content
15,905,558 members
Home / Discussions / C#
   

C#

 
GeneralRe: combobox and auto-completion Pin
jklucker3-May-05 7:19
jklucker3-May-05 7:19 
GeneralRe: combobox and auto-completion Pin
gibono8-May-05 23:22
gibono8-May-05 23:22 
Questionhow to bind a richtextbox control's rtf property to the database?? Pin
2-May-05 21:04
suss2-May-05 21:04 
GeneralArchive Mail Reader Pin
Member 21255652-May-05 20:23
Member 21255652-May-05 20:23 
GeneralText Box doesn't show new Value Pin
RobertS.2-May-05 15:53
sussRobertS.2-May-05 15:53 
GeneralRe: Text Box doesn't show new Value Pin
Dan_P2-May-05 16:05
Dan_P2-May-05 16:05 
GeneralUpButton and DownButton methods Pin
JeffHarrold2-May-05 15:52
JeffHarrold2-May-05 15:52 
GeneralRe: UpButton and DownButton methods Pin
JeffHarrold3-May-05 13:11
JeffHarrold3-May-05 13:11 
Generalbrowsing the web from widows application Pin
Modern_night2-May-05 15:29
Modern_night2-May-05 15:29 
GeneralRe: browsing the web from widows application Pin
Christian Graus2-May-05 16:25
protectorChristian Graus2-May-05 16:25 
GeneralRe: browsing the web from widows application Pin
Polis Pilavas3-May-05 3:37
Polis Pilavas3-May-05 3:37 
QuestionPropertyGrid - how to apply changes? Pin
czajajajatoszmaciarz2-May-05 13:04
czajajajatoszmaciarz2-May-05 13:04 
AnswerRe: PropertyGrid - how to apply changes? Pin
Dan_P2-May-05 15:03
Dan_P2-May-05 15:03 
AnswerRe: PropertyGrid - how to apply changes? Pin
Mathew Hall2-May-05 15:03
Mathew Hall2-May-05 15:03 
GeneralRe: PropertyGrid - how to apply changes? Pin
Anonymous3-May-05 10:00
Anonymous3-May-05 10:00 
GeneralRead only Outlookbar Pin
Member 19299502-May-05 12:43
Member 19299502-May-05 12:43 
GeneralRe: Read only Outlookbar Pin
MoustafaS2-May-05 13:14
MoustafaS2-May-05 13:14 
GeneralUrl navigation Pin
Adnan Siddiqi2-May-05 10:42
Adnan Siddiqi2-May-05 10:42 
GeneralRe: Url navigation Pin
leppie2-May-05 14:57
leppie2-May-05 14:57 
QuestionCancellable operation -- recommended practice? Pin
Judah Gabriel Himango2-May-05 9:42
sponsorJudah Gabriel Himango2-May-05 9:42 
AnswerRe: Cancellable operation -- recommended practice? Pin
Marc Clifton2-May-05 10:56
mvaMarc Clifton2-May-05 10:56 
GeneralRe: Cancellable operation -- recommended practice? Pin
Judah Gabriel Himango2-May-05 11:03
sponsorJudah Gabriel Himango2-May-05 11:03 
I don't kill the DoHeavy thread because DoHeavy is calling a method in a library I don't have the source code for (so I can't 'cancel' the thread, so to speak). And I'm a firm believer in abstaining from Thread.Abort calls, especially from asynchronous code.

The slow method in question is actually a synchronous IO operation, one which the library providers did not provide an asynchronous alternative to, so in reality it's not so much eating the CPU cycles as it is just wasting disk space on an disk writing operation.

As far as the Thread.Sleep() & operation.IsCompleted calls inside the while loop, is there any better way to do that? If not, would it be wise to make shorter iterations in the sleep loop (causing more IsCompleted calls) or better to sleep more and query IsCompleted less often?

Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Horrific Minnesota Radio
Judah Himango


QuestionPassing methods to ThreadStart - Possible? Pin
stan282-May-05 8:52
stan282-May-05 8:52 
AnswerRe: Passing methods to ThreadStart - Possible? Pin
Judah Gabriel Himango2-May-05 9:05
sponsorJudah Gabriel Himango2-May-05 9:05 
AnswerRe: Passing methods to ThreadStart - Possible? Pin
Marc Clifton2-May-05 10:52
mvaMarc Clifton2-May-05 10:52 

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.