Click here to Skip to main content
15,886,763 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#,Close Excel whitout the save as dialog Pin
jzb30-Jan-06 20:14
jzb30-Jan-06 20:14 
AnswerRe: C#,Close Excel whitout the save as dialog Pin
Drew McGhie30-Jan-06 3:35
Drew McGhie30-Jan-06 3:35 
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 
Hey, running an app that has to enumerate thru a treeView and create a connection to each node(or pc).
because our network is so large i need to give the users the ablity to close the connection/exit the application prior to the connection closing itself.

The problem i'm running into is that i'm running the treeView enumeration on a separate thread (due to the time/system expense and it was continually locking up the interface) and I can't elegantly kill the thread.
I intermittently receive "Thread was being aborted" when trying to stop/abort the thread. I've searched around and all i can find is related to web redirects, which isn't my problem. I've attempted to follow the msdn directives regarding this but haven't had any luck(thread.join).

I've also tried to look into closing the connection as that would allow the thread to close properly, but i can't find anything on how to close a managementScope object. (I may have not looked hard enought on this part Unsure | :~ )

I could use any help that you may offer.


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


Why is common sense such an un-common comodity?

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 
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 

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.