Click here to Skip to main content
15,899,314 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView columns Pin
Greeky20-Oct-05 2:53
Greeky20-Oct-05 2:53 
QuestionNt Event logger Pin
sharathgowda20-Oct-05 2:32
sharathgowda20-Oct-05 2:32 
AnswerRe: Nt Event logger Pin
S. Senthil Kumar20-Oct-05 4:36
S. Senthil Kumar20-Oct-05 4:36 
QuestionListView DisObeys!!! Pin
Ali Beirami20-Oct-05 2:12
Ali Beirami20-Oct-05 2:12 
QuestionStoping a running thread Pin
reederma20-Oct-05 2:04
reederma20-Oct-05 2:04 
AnswerRe: Stoping a running thread Pin
Tom Larsen20-Oct-05 3:27
Tom Larsen20-Oct-05 3:27 
GeneralRe: Stoping a running thread Pin
reederma20-Oct-05 3:43
reederma20-Oct-05 3:43 
GeneralRe: Stoping a running thread Pin
S. Senthil Kumar20-Oct-05 4:44
S. Senthil Kumar20-Oct-05 4:44 
RochesterMark wrote:
Throw an exception to the thread. So I catch that exception within the thread.


While you can't inject arbitrary exceptions into the thread code, if you know the code that the thread is executing, you can make those methods throw exceptions. Not an elegant solution.


RochesterMark wrote:
Or catch the ThreadAbortException in the thread.


You can't. That would break the whole purpose of ThreadAbortException, won't it? What if you just catch it and proceed like nothing happened?

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Stoping a running thread Pin
Tom Larsen20-Oct-05 8:21
Tom Larsen20-Oct-05 8:21 
Questioncode Pin
johan198520-Oct-05 1:44
johan198520-Oct-05 1:44 
AnswerRe: code Pin
enjoycrack20-Oct-05 7:08
enjoycrack20-Oct-05 7:08 
AnswerRe: code Pin
Matt Newman20-Oct-05 9:03
Matt Newman20-Oct-05 9:03 
AnswerRe: code Pin
Matt Gerrans20-Oct-05 13:17
Matt Gerrans20-Oct-05 13:17 
GeneralRe: code Pin
tatchung20-Oct-05 15:19
tatchung20-Oct-05 15:19 
QuestionHow to Select Acroos All pages in Grid Pin
kris8220-Oct-05 1:19
kris8220-Oct-05 1:19 
Questioncheck interface Pin
ppp00120-Oct-05 1:07
ppp00120-Oct-05 1:07 
AnswerRe: check interface Pin
Guffa20-Oct-05 1:35
Guffa20-Oct-05 1:35 
Questioncreate a crypt ing key by text Pin
Sasuko20-Oct-05 0:57
Sasuko20-Oct-05 0:57 
GeneralRe: create a crypt ing key by text Pin
Guffa20-Oct-05 1:21
Guffa20-Oct-05 1:21 
GeneralRe: create a crypt ing key by text Pin
Sasuko20-Oct-05 1:42
Sasuko20-Oct-05 1:42 
GeneralRe: create a crypt ing key by text Pin
Guffa20-Oct-05 2:23
Guffa20-Oct-05 2:23 
QuestionVideos show wrong duration Pin
Sensei7620-Oct-05 0:33
Sensei7620-Oct-05 0:33 
AnswerRe: Videos show wrong duration Pin
Pixinger7720-Oct-05 0:49
Pixinger7720-Oct-05 0:49 
QuestionNUMERIC DataGridViewTextBoxColumn Pin
Greeky20-Oct-05 0:27
Greeky20-Oct-05 0:27 
QuestionCheck if users on network Pin
20-Oct-05 0:14
suss20-Oct-05 0:14 

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.