Click here to Skip to main content
15,913,944 members
Home / Discussions / C#
   

C#

 
GeneralRe: BackgroundWorker: Recover from Error Pin
aread2225-Jan-07 22:35
aread2225-Jan-07 22:35 
GeneralRe: BackgroundWorker: Recover from Error Pin
Stefan Troschuetz25-Jan-07 22:40
Stefan Troschuetz25-Jan-07 22:40 
GeneralRe: BackgroundWorker: Recover from Error Pin
aread2225-Jan-07 22:42
aread2225-Jan-07 22:42 
QuestionHow to write information to file descritpion Pin
jiangwm_shy200525-Jan-07 22:01
jiangwm_shy200525-Jan-07 22:01 
QuestionThread and how to stop Pin
gigo2k625-Jan-07 22:00
gigo2k625-Jan-07 22:00 
AnswerRe: Thread and how to stop Pin
Martin#25-Jan-07 22:08
Martin#25-Jan-07 22:08 
AnswerRe: Thread and how to stop Pin
cocoonwls25-Jan-07 22:30
cocoonwls25-Jan-07 22:30 
AnswerRe: Thread and how to stop Pin
Luc Pattyn25-Jan-07 23:58
sitebuilderLuc Pattyn25-Jan-07 23:58 
When the top-level method of your thread's code comes to an end (by returning or reaching
end of method), the thread exits.

You really should try to let your thread finish up by itself, so use return, and let
all using blocks and finally blocks do the cleanup work.

In general Thread.Abort is not OK since that does not take care of any resources, locks,
etc that your thread possesses.

Smile | :)

Luc Pattyn

QuestionC#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 21:48
AlexB4725-Jan-07 21:48 
AnswerRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 21:56
Stefan Troschuetz25-Jan-07 21:56 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 22:06
AlexB4725-Jan-07 22:06 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 22:12
Stefan Troschuetz25-Jan-07 22:12 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 22:24
AlexB4725-Jan-07 22:24 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 22:28
Stefan Troschuetz25-Jan-07 22:28 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 22:30
AlexB4725-Jan-07 22:30 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 22:35
Stefan Troschuetz25-Jan-07 22:35 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
AlexB4725-Jan-07 22:40
AlexB4725-Jan-07 22:40 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Stefan Troschuetz25-Jan-07 22:50
Stefan Troschuetz25-Jan-07 22:50 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
abalbo28-Jan-07 1:19
abalbo28-Jan-07 1:19 
AnswerRe: C#, Timer and GetTickCount on Compact Framework Pin
Luc Pattyn26-Jan-07 0:16
sitebuilderLuc Pattyn26-Jan-07 0:16 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
abalbo26-Jan-07 23:29
abalbo26-Jan-07 23:29 
GeneralRe: C#, Timer and GetTickCount on Compact Framework Pin
Luc Pattyn27-Jan-07 1:43
sitebuilderLuc Pattyn27-Jan-07 1:43 
QuestionHow can I get Combobox Selected ValueMember [modified] Pin
dataminers25-Jan-07 21:35
dataminers25-Jan-07 21:35 
AnswerRe: How can I get Combobox Selected ValueMember Pin
baerten26-Jan-07 0:21
baerten26-Jan-07 0:21 
QuestionAbout the new keyword Pin
Loophole25-Jan-07 21:29
Loophole25-Jan-07 21:29 

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.