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

C#

 
QuestionHow to calculate on CRC? Pin
sajid.salim.khan13-Jan-07 23:41
sajid.salim.khan13-Jan-07 23:41 
AnswerRe: How to calculate on CRC? Pin
CPallini14-Jan-07 3:26
mveCPallini14-Jan-07 3:26 
GeneralRe: How to calculate on CRC? Pin
sajid.salim.khan14-Jan-07 5:42
sajid.salim.khan14-Jan-07 5:42 
AnswerRe: How to calculate on CRC? Pin
Rob Graham14-Jan-07 6:13
Rob Graham14-Jan-07 6:13 
GeneralThanXXXXXXXXXXXXXXXXX Pin
sajid.salim.khan14-Jan-07 7:07
sajid.salim.khan14-Jan-07 7:07 
QuestionHow to kill a Background worker instantly Pin
Nadia Monalisa13-Jan-07 22:44
Nadia Monalisa13-Jan-07 22:44 
AnswerRe: How to kill a Background worker instantly Pin
Luc Pattyn13-Jan-07 22:52
sitebuilderLuc Pattyn13-Jan-07 22:52 
GeneralRe: How to kill a Background worker instantly Pin
Nadia Monalisa13-Jan-07 23:05
Nadia Monalisa13-Jan-07 23:05 
Hi Luc Pattyn,
Thanks a lot for your valuable reply.

Actually I thought there must be a way to abort a background worker safely. Because, when I want to stop a Music which is being played by a player, as a user I should not care how the resources are being used, I know by all means that I want to stop the music playing right a way. My application has some similar situation, but my user is forced to wait for the background worker\s dumb loop where the cancellation flag is checked. And if some reason the background process is stucked and never coming back to check the flag, the user can’t ever stop the process.

As you said I should use Flags. Yes, background worker object provides a flag named "cancellation pending" and I am already using that to check if it should be aborted. But is not there any better solution to stop like a Music player?

Regards
Emran

GeneralRe: How to kill a Background worker instantly Pin
Luc Pattyn14-Jan-07 0:00
sitebuilderLuc Pattyn14-Jan-07 0:00 
GeneralRe: How to kill a Background worker instantly Pin
Nadia Monalisa14-Jan-07 0:17
Nadia Monalisa14-Jan-07 0:17 
GeneralRe: How to kill a Background worker instantly Pin
Luc Pattyn14-Jan-07 0:39
sitebuilderLuc Pattyn14-Jan-07 0:39 
QuestionRotating an image around its center point Pin
Mike Hankey13-Jan-07 22:00
mveMike Hankey13-Jan-07 22:00 
AnswerRe: Rotating an image around its center point Pin
Luc Pattyn13-Jan-07 22:42
sitebuilderLuc Pattyn13-Jan-07 22:42 
AnswerRe: Rotating an image around its center point Pin
Christian Graus13-Jan-07 23:07
protectorChristian Graus13-Jan-07 23:07 
GeneralRe: Rotating an image around its center point Pin
Luc Pattyn14-Jan-07 0:14
sitebuilderLuc Pattyn14-Jan-07 0:14 
GeneralRe: Rotating an image around its center point Pin
Christian Graus14-Jan-07 1:38
protectorChristian Graus14-Jan-07 1:38 
GeneralRe: Rotating an image around its center point Pin
Mike Hankey14-Jan-07 6:02
mveMike Hankey14-Jan-07 6:02 
GeneralRe: Rotating an image around its center point Pin
Mike Hankey14-Jan-07 5:33
mveMike Hankey14-Jan-07 5:33 
QuestionProgressBar Orientation Pin
blackjack215013-Jan-07 20:26
blackjack215013-Jan-07 20:26 
AnswerRe: ProgressBar Orientation Pin
Luc Pattyn13-Jan-07 20:35
sitebuilderLuc Pattyn13-Jan-07 20:35 
Questioncompare files Pin
Tahir Shah13-Jan-07 20:14
Tahir Shah13-Jan-07 20:14 
AnswerRe: compare files Pin
Luc Pattyn13-Jan-07 20:37
sitebuilderLuc Pattyn13-Jan-07 20:37 
Questionoveride column header clicked behaviour Pin
swjam13-Jan-07 19:38
swjam13-Jan-07 19:38 
Questionmulti-tab Browser Pin
dsl/fahk13-Jan-07 17:16
dsl/fahk13-Jan-07 17:16 
AnswerRe: multi-tab Browser Pin
Christian Graus13-Jan-07 19:01
protectorChristian Graus13-Jan-07 19:01 

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.