Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
QuestionPassing Data Pin
bootn29-Jan-06 17:15
bootn29-Jan-06 17:15 
AnswerRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 17:40
Colin Angus Mackay29-Jan-06 17:40 
GeneralRe: Passing Data Pin
bootn29-Jan-06 17:51
bootn29-Jan-06 17:51 
GeneralRe: Passing Data Pin
Colin Angus Mackay29-Jan-06 18:04
Colin Angus Mackay29-Jan-06 18:04 
GeneralRe: Passing Data Pin
bootn29-Jan-06 20:15
bootn29-Jan-06 20:15 
QuestionThread NOT aborting nicely!!!! Pin
WetRivrRat29-Jan-06 17:13
WetRivrRat29-Jan-06 17:13 
AnswerRe: Thread NOT aborting nicely!!!! Pin
leppie29-Jan-06 18:34
leppie29-Jan-06 18:34 
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 2:32
WetRivrRat30-Jan-06 2:32 
Thanks for the response,
i've included a small section of the code that deals with the thread abort calls. I guess a bit more description into what i'm receiving may help...
its not so much the initial error, as i could find a creative way to handle it, but its that i'm receiving the error multiple times. So even if i catch the error i'll still have to deal with multiple instances of the same issue.

After watching the system processes I can see that instead of increasing by only one thread, or maybe even two for that matter i'm actually increasing by 4 sometimes 7 while the app is enumerating thru the connection nodes...
this is only a concern because i'm receiving sometimes 3 or more "Thread was being aborted" messages, so i wanted to see why.

I've also tried to capture that message by using a try,catch, but haven't yet found a way to do it. not sure if that has anything to do with the unhandled exception nature of this message or not, but its just odd....

anyhow i'm sure i'm only confusing the situation more by explaining...

case 3:									
	result = MessageBox.Show("~","Please Verify", MessageBoxButtons.YesNo, MessageBoxIcon.Question );
	try
	{
		if(result == DialogResult.Yes)
		{
			menuItem42.Visible=true;
			menuItem45.Visible=false;
			if (PcTree.IsAlive == true)
				{
					PcTree.Abort();
					PcTree.Join();
					label1.ResetText();
					progressBar1.Value = progressBar1.Minimum;
				}
		}
	}
	catch (ThreadAbortException abort)
	{MessageBox.Show(abort.Message + abort.StackTrace);}
	break;





string Beautiful;
Beautiful = "ignorant";
label1.Text = "The world is full of " + Beautiful +" people.";


Why is common sense such an un-common comodity?
GeneralRe: Thread NOT aborting nicely!!!! Pin
WetRivrRat30-Jan-06 3:59
WetRivrRat30-Jan-06 3:59 
QuestionRefreshing DataSet Pin
emran83429-Jan-06 13:57
emran83429-Jan-06 13:57 
AnswerRe: Refreshing DataSet Pin
imsathy29-Jan-06 20:12
imsathy29-Jan-06 20:12 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 5:58
emran83430-Jan-06 5:58 
AnswerRe: Refreshing DataSet Pin
Drew McGhie30-Jan-06 3:38
Drew McGhie30-Jan-06 3:38 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 6:14
emran83430-Jan-06 6:14 
GeneralRe: Refreshing DataSet Pin
Drew McGhie30-Jan-06 10:15
Drew McGhie30-Jan-06 10:15 
GeneralRe: Refreshing DataSet Pin
emran83430-Jan-06 11:52
emran83430-Jan-06 11:52 
GeneralRe: Refreshing DataSet Pin
imsathy30-Jan-06 18:27
imsathy30-Jan-06 18:27 
GeneralRe: Successful but had to modify little. Pin
emran83431-Jan-06 17:04
emran83431-Jan-06 17:04 
Questionsql server license Pin
fmardani29-Jan-06 12:54
fmardani29-Jan-06 12:54 
AnswerRe: sql server license Pin
bootn29-Jan-06 17:21
bootn29-Jan-06 17:21 
AnswerRe: sql server license Pin
Dario Solera29-Jan-06 22:22
Dario Solera29-Jan-06 22:22 
QuestionAudio Problem Pin
snouto29-Jan-06 12:44
snouto29-Jan-06 12:44 
QuestionWindows Media Player Remote Control Pin
pittuck29-Jan-06 12:32
pittuck29-Jan-06 12:32 
QuestionMigration from .NET 1.1 to 2.0 Pin
MrEyes29-Jan-06 11:28
MrEyes29-Jan-06 11:28 
AnswerRe: Migration from .NET 1.1 to 2.0 Pin
User 665829-Jan-06 11:39
User 665829-Jan-06 11:39 

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.