Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I access my Mainwindow-controls from a thread? Pin
Erik8-Nov-10 21:50
Erik8-Nov-10 21:50 
QuestionDatagridview Pin
yesu prakash8-Nov-10 20:41
yesu prakash8-Nov-10 20:41 
AnswerRe: Datagridview Pin
David Ewen8-Nov-10 20:50
professionalDavid Ewen8-Nov-10 20:50 
QuestionSocket and Thread Question Pin
jason_mf8-Nov-10 18:45
jason_mf8-Nov-10 18:45 
AnswerRe: Socket and Thread Question Pin
Rajesh Anuhya8-Nov-10 18:55
professionalRajesh Anuhya8-Nov-10 18:55 
GeneralRe: Socket and Thread Question Pin
jason_mf8-Nov-10 18:58
jason_mf8-Nov-10 18:58 
QuestionMultiThreading Pin
RoboAlex8-Nov-10 17:26
RoboAlex8-Nov-10 17:26 
AnswerRe: MultiThreading Pin
Luc Pattyn8-Nov-10 17:31
sitebuilderLuc Pattyn8-Nov-10 17:31 
I see no reasons to freeze an app, multi-threaded or not. There may be causes why it is freezing nevertheless.
First thing to look for: are there one or more busy loops (is CPU load very high, say close to 100%, or maybe close to 50% on a dual-core, etc)? or is everything really idle (CPU load nearly zero)?

Debugging advice:
1. don't create a huge app with lots of problems and only then start fixing the problems; start small and make sure it is correct from the start.
2. improve observability by inserting logging statements, where each line shows DateTime.Now (up to ss.fff) and the thread ID.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: MultiThreading Pin
Rajesh Anuhya8-Nov-10 18:57
professionalRajesh Anuhya8-Nov-10 18:57 
AnswerRe: MultiThreading Pin
David Skelly8-Nov-10 22:27
David Skelly8-Nov-10 22:27 
AnswerRe: MultiThreading Pin
Luc Pattyn9-Nov-10 1:37
sitebuilderLuc Pattyn9-Nov-10 1:37 
QuestionReturn all form controls to default state Pin
kruegs358-Nov-10 17:20
kruegs358-Nov-10 17:20 
AnswerRe: Return all form controls to default state Pin
Luc Pattyn8-Nov-10 17:26
sitebuilderLuc Pattyn8-Nov-10 17:26 
QuestionCan you gain administrator permission in .NET program? Pin
John Kenedy S.Kom8-Nov-10 16:08
John Kenedy S.Kom8-Nov-10 16:08 
AnswerRe: Can you gain administrator permission in .NET program? Pin
Jacob D Dixon8-Nov-10 17:44
Jacob D Dixon8-Nov-10 17:44 
AnswerRe: Can you gain administrator permission in .NET program? Pin
David Ewen8-Nov-10 17:55
professionalDavid Ewen8-Nov-10 17:55 
GeneralRe: Can you gain administrator permission in .NET program? Pin
John Kenedy S.Kom9-Nov-10 0:41
John Kenedy S.Kom9-Nov-10 0:41 
GeneralRe: Can you gain administrator permission in .NET program? Pin
Dave Kreskowiak9-Nov-10 2:05
mveDave Kreskowiak9-Nov-10 2:05 
GeneralRe: Can you gain administrator permission in .NET program? Pin
John Kenedy S.Kom9-Nov-10 14:32
John Kenedy S.Kom9-Nov-10 14:32 
GeneralRe: Can you gain administrator permission in .NET program? Pin
Dave Kreskowiak9-Nov-10 18:37
mveDave Kreskowiak9-Nov-10 18:37 
GeneralRe: Can you gain administrator permission in .NET program? Pin
David Ewen9-Nov-10 12:00
professionalDavid Ewen9-Nov-10 12:00 
QuestionAbout AutoResetEvent, a simple question Pin
jason_mf8-Nov-10 1:15
jason_mf8-Nov-10 1:15 
AnswerRe: About AutoResetEvent, a simple question Pin
Luc Pattyn8-Nov-10 1:42
sitebuilderLuc Pattyn8-Nov-10 1:42 
GeneralRe: About AutoResetEvent, a simple question Pin
RaviRanjanKr8-Nov-10 1:58
professionalRaviRanjanKr8-Nov-10 1:58 
GeneralRe: About AutoResetEvent, a simple question Pin
John Kenedy S.Kom8-Nov-10 16:11
John Kenedy S.Kom8-Nov-10 16:11 

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.