Click here to Skip to main content
15,890,399 members
Home / Discussions / C#
   

C#

 
Questionstatusstriplabels problem? :( Pin
cmpeng3418-May-06 1:17
cmpeng3418-May-06 1:17 
AnswerRe: statusstriplabels problem? :( Pin
Office Lineman18-May-06 6:33
Office Lineman18-May-06 6:33 
Questionhowto enable enter key active on a specific button ? Pin
cmpeng3418-May-06 1:11
cmpeng3418-May-06 1:11 
AnswerRe: howto enable enter key active on a specific button ? Pin
rah_sin18-May-06 1:35
professionalrah_sin18-May-06 1:35 
AnswerRe: howto enable enter key active on a specific button ? Pin
Rizwan Rathore18-May-06 1:57
Rizwan Rathore18-May-06 1:57 
QuestionThread.Abort() (Should I use try..catch?) Pin
Shy Agam18-May-06 1:02
Shy Agam18-May-06 1:02 
AnswerRe: Thread.Abort() (Should I use try..catch?) Pin
Robert Rohde18-May-06 1:34
Robert Rohde18-May-06 1:34 
AnswerRe: Thread.Abort() (Should I use try..catch?) Pin
Guffa18-May-06 1:36
Guffa18-May-06 1:36 
You can catch the ThreadAbortException in the thread if you want to make it aware of that it is being aborted.

There are three ways of keeping the thread from being aborted:

:: Go into an eternal loop after catching the exception to keep from exiting the catch block, as exiting the catch block automatically raises the exception again.

:: Go into an eternal loop in a finally block, as all pending finally blocks are executed before the thread is killed.

:: Call Thread.ResetAbort after catching the exception to cancel the abort. This is of course the preferred method if the intention really is to keep the thread alive.

In any other case, the thread will be aborted.


---
b { font-weight: normal; }

QuestionHelp needed in Reference Parameters Pin
Ashraj198218-May-06 0:42
Ashraj198218-May-06 0:42 
QuestionLaunch an application in Win CE Pin
taucher_7218-May-06 0:32
taucher_7218-May-06 0:32 
AnswerRe: Launch an application in Win CE Pin
rah_sin18-May-06 0:37
professionalrah_sin18-May-06 0:37 
GeneralRe: Launch an application in Win CE Pin
taucher_7218-May-06 1:10
taucher_7218-May-06 1:10 
AnswerRe: Launch an application in Win CE Pin
GDavy18-May-06 3:37
GDavy18-May-06 3:37 
GeneralRe: Launch an application in Win CE Pin
taucher_7218-May-06 22:04
taucher_7218-May-06 22:04 
QuestionDatabinding a string ignores DBNulls Pin
Chals17-May-06 23:59
Chals17-May-06 23:59 
QuestionHide a Form when X-button pressed Pin
anderslundsgard17-May-06 23:54
anderslundsgard17-May-06 23:54 
AnswerRe: Hide a Form when X-button pressed Pin
Colin Angus Mackay17-May-06 23:59
Colin Angus Mackay17-May-06 23:59 
GeneralRe: Hide a Form when X-button pressed Pin
anderslundsgard18-May-06 1:06
anderslundsgard18-May-06 1:06 
QuestionMeasuring Query execution time Pin
tibiz17-May-06 23:51
tibiz17-May-06 23:51 
AnswerRe: Measuring Query execution time Pin
Rei Miyasaka18-May-06 7:19
Rei Miyasaka18-May-06 7:19 
QuestionHighlight an item in a listview Pin
NewbieDude17-May-06 23:35
NewbieDude17-May-06 23:35 
AnswerRe: Highlight an item in a listview Pin
rah_sin17-May-06 23:46
professionalrah_sin17-May-06 23:46 
AnswerRe: Highlight an item in a listview Pin
Leyu18-May-06 8:23
Leyu18-May-06 8:23 
QuestionFolderBrowserDialog Pin
Talktorajeev17-May-06 23:31
Talktorajeev17-May-06 23:31 
AnswerRe: FolderBrowserDialog Pin
alexey N18-May-06 0:41
alexey N18-May-06 0:41 

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.