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

C#

 
QuestionNumeric DataGridViewColumn Exception Pin
Greeky20-Oct-05 3:29
Greeky20-Oct-05 3:29 
Questionquestion about drawing a menu Pin
Green Fuze20-Oct-05 3:05
Green Fuze20-Oct-05 3:05 
Questionquestion about drawing a menu Pin
Green Fuze20-Oct-05 3:05
Green Fuze20-Oct-05 3:05 
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 
I looking for a way to signal a function in a running thread to stop what is doing, clean up, and then end. The thread runs testing code that I don't have control over. Since I don't have access to this section of code there is no way for me to put checks in for a flag to end a test run. I check a flag just before a function runs the unknown code and just after to stop the thread, this works. But some of the unknown code can run for hours and I need a way to throw an exception, signal, or interrupt the function that executes this code in the thread. The interrupt would be coming from the program that started this testing thread.

// This runs an individual test.
method.Invoke( test, null ); <<-- This is where I need to get into.


Thanks Smile | :)

Mark


-- modified at 8:15 Thursday 20th October, 2005
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 
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 

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.