Click here to Skip to main content
16,015,679 members
Home / Discussions / C#
   

C#

 
GeneralRefresh DataGrid question Pin
markdbd23-Oct-04 6:21
markdbd23-Oct-04 6:21 
GeneralRe: Refresh DataGrid question Pin
Alex Korchemniy23-Oct-04 12:40
Alex Korchemniy23-Oct-04 12:40 
GeneralRe: Refresh DataGrid question Pin
markdbd24-Oct-04 2:13
markdbd24-Oct-04 2:13 
GeneralRe: Refresh DataGrid question Pin
Alex Korchemniy24-Oct-04 9:08
Alex Korchemniy24-Oct-04 9:08 
GeneralCalling an event Pin
Anonymous23-Oct-04 5:46
Anonymous23-Oct-04 5:46 
GeneralRe: Calling an event Pin
Alex Korchemniy23-Oct-04 13:21
Alex Korchemniy23-Oct-04 13:21 
GeneralThread.Abort hangs the calling thread in VS .NET 2005 Pin
Ami Bar23-Oct-04 5:10
Ami Bar23-Oct-04 5:10 
GeneralRe: Thread.Abort hangs the calling thread in VS .NET 2005 Pin
Dennis C. Dietrich23-Oct-04 9:36
Dennis C. Dietrich23-Oct-04 9:36 
Hi Ami!

Ami Bar wrote:
As far as I know Thread.Abort() shouldn't lock the thread that called it.

It's not explictly said that Thread.Abort() is asynchronous however the online version of the VS 2005 documentation does state that "the thread is not guaranteed to abort immediately, or at all. This situation can occur if a thread does an unbounded amount of computation in the finally blocks that are called as part of the abort procedure, thereby indefinitely delaying the abort. To ensure a thread has aborted, invoke a Join method on the thread after calling Abort." (see Thread.Abort Method ()[^]) I guess that paragraph only makes sense if Thread.Abort() does not wait for the thread to terminate.

Ami Bar wrote:
When I compile the application in VS .NET 2003 it works fine.
When I compile the same code in VS .NET 2005, the application deadlocks on the Thread.Abort() method.


Keep in mind that both VS 2005 and the .NET Framework 2.0 are still beta versions. If it works fine with VS 2003 but not with 2005 you should enter a new bug report (if it hasn't been already reported) at the MSDN Product Feedback Center[^]

Best regards
Dennis
GeneralmySQl Problem in C#. Suspect it's my mySQL config... Pin
Admiral Ackbar23-Oct-04 3:59
Admiral Ackbar23-Oct-04 3:59 
Questionis there a way?? Pin
tom_dx23-Oct-04 3:46
tom_dx23-Oct-04 3:46 
AnswerRe: is there a way?? Pin
Colin Angus Mackay23-Oct-04 4:14
Colin Angus Mackay23-Oct-04 4:14 
GeneralRe: is there a way?? Pin
tom_dx23-Oct-04 4:39
tom_dx23-Oct-04 4:39 
GeneralRe: is there a way?? Pin
Colin Angus Mackay23-Oct-04 4:41
Colin Angus Mackay23-Oct-04 4:41 
AnswerRe: is there a way?? Pin
Uwe Keim23-Oct-04 4:52
sitebuilderUwe Keim23-Oct-04 4:52 
GeneralRe: is there a way?? Pin
tom_dx23-Oct-04 14:33
tom_dx23-Oct-04 14:33 
Generalpassing a variable value to another form Pin
steve_rm22-Oct-04 20:52
steve_rm22-Oct-04 20:52 
GeneralRe: passing a variable value to another form Pin
Heath Stewart22-Oct-04 21:15
protectorHeath Stewart22-Oct-04 21:15 
GeneralDraw Controls Pin
WDI22-Oct-04 20:32
WDI22-Oct-04 20:32 
GeneralRe: Draw Controls Pin
Heath Stewart22-Oct-04 21:21
protectorHeath Stewart22-Oct-04 21:21 
GeneralCentrally managed memory allocation/deallocation Pin
devvvy22-Oct-04 17:51
devvvy22-Oct-04 17:51 
GeneralRe: Centrally managed memory allocation/deallocation Pin
leppie22-Oct-04 20:34
leppie22-Oct-04 20:34 
GeneralRe: Centrally managed memory allocation/deallocation Pin
devvvy22-Oct-04 20:45
devvvy22-Oct-04 20:45 
GeneralRe: Centrally managed memory allocation/deallocation Pin
leppie23-Oct-04 1:45
leppie23-Oct-04 1:45 
GeneralTreeview node images Pin
sachinkalse22-Oct-04 16:26
sachinkalse22-Oct-04 16:26 
GeneralFile IO Pin
StephenMcAllister22-Oct-04 14:06
StephenMcAllister22-Oct-04 14:06 

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.