Click here to Skip to main content
16,004,944 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Tree View - Please Guide. Pin
h@s@n14-Nov-06 2:34
h@s@n14-Nov-06 2:34 
GeneralRe: XML Tree View - Please Guide. Pin
Ed.Poore14-Nov-06 3:01
Ed.Poore14-Nov-06 3:01 
GeneralRe: XML Tree View - Please Guide. Pin
ejuanpp14-Nov-06 3:24
ejuanpp14-Nov-06 3:24 
QuestionHow to self recall after a time interval Pin
t2o2uk14-Nov-06 2:14
t2o2uk14-Nov-06 2:14 
AnswerRe: How to self recall after a time interval Pin
Martin#14-Nov-06 2:22
Martin#14-Nov-06 2:22 
GeneralRe: How to self recall after a time interval Pin
Martin#14-Nov-06 2:28
Martin#14-Nov-06 2:28 
AnswerRe: How to self recall after a time interval Pin
Guffa14-Nov-06 2:29
Guffa14-Nov-06 2:29 
QuestionBackgroundWorker CancelSync() ?? Pin
Chris_Green14-Nov-06 2:12
Chris_Green14-Nov-06 2:12 
Was just whipping up a quick util which immediately executes an assembly normally run by a winservice at night. The assembly implements an interface exposing a DoWork() function.

I decided to play with the BackgroundWorker component to keep my utils UI responsive and show a little animation while it chugs along. So I have a worker class which essentially implements the interface and calls DoWork().

I thought it would be cool to implement a cancel button while I was at it. BackgroundWorker supports a CancelAsync() which requires the worker thread to check backgroundWorker.CancellationPending and then return. But what if my worker is calling in to an assembly which is performing the long process?

Just curious if there is a way to forcing a BackgroundWorker to immediately cancel. A call to Dispose() was ignored and I didn't see a way to force the thread to exit immediately.
AnswerRe: BackgroundWorker CancelSync() ?? Pin
Judah Gabriel Himango14-Nov-06 8:51
sponsorJudah Gabriel Himango14-Nov-06 8:51 
QuestionEPS file from TChart Pin
haritus14-Nov-06 1:51
haritus14-Nov-06 1:51 
Questionfixed width tootips Pin
Mridang Agarwalla14-Nov-06 1:01
Mridang Agarwalla14-Nov-06 1:01 
QuestionRandom Class issue Pin
Russell Jones14-Nov-06 0:42
Russell Jones14-Nov-06 0:42 
AnswerRe: Random Class issue Pin
Guffa14-Nov-06 1:02
Guffa14-Nov-06 1:02 
GeneralRe: Random Class issue Pin
Russell Jones14-Nov-06 1:09
Russell Jones14-Nov-06 1:09 
AnswerRe: Random Class issue Pin
Guffa14-Nov-06 4:36
Guffa14-Nov-06 4:36 
Questionchange current datagridview row style Pin
gus_br14-Nov-06 0:36
gus_br14-Nov-06 0:36 
AnswerRe: change current datagridview row style Pin
mark_w_14-Nov-06 2:38
mark_w_14-Nov-06 2:38 
QuestionWinforms: how to wrap image and text together Pin
OGG029348083614-Nov-06 0:27
OGG029348083614-Nov-06 0:27 
AnswerRe: Winforms: how to wrap image and text together Pin
led mike14-Nov-06 5:07
led mike14-Nov-06 5:07 
Questioncalling a webmethod Pin
saqib8214-Nov-06 0:23
saqib8214-Nov-06 0:23 
AnswerRe: calling a webmethod Pin
Mircea Puiu14-Nov-06 1:23
Mircea Puiu14-Nov-06 1:23 
QuestionConfigurationManager problem Pin
ranandbe13-Nov-06 23:55
ranandbe13-Nov-06 23:55 
AnswerRe: ConfigurationManager problem Pin
Ed.Poore14-Nov-06 0:19
Ed.Poore14-Nov-06 0:19 
QuestionAccess to the path 'C:\\Program Files\\AAA' is denied." Pin
ranandbe13-Nov-06 23:48
ranandbe13-Nov-06 23:48 
AnswerRe: Access to the path 'C:\\Program Files\\AAA' is denied." Pin
Ed.Poore14-Nov-06 0:19
Ed.Poore14-Nov-06 0:19 

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.