Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application Freeze after ScreenSaver/Workstation Lock/Display Change Pin
Mirko198012-Oct-09 22:44
Mirko198012-Oct-09 22:44 
GeneralRe: Application Freeze after ScreenSaver/Workstation Lock/Display Change Pin
musefan12-Oct-09 23:01
musefan12-Oct-09 23:01 
GeneralRe: Application Freeze after ScreenSaver/Workstation Lock/Display Change Pin
Mirko198012-Oct-09 23:24
Mirko198012-Oct-09 23:24 
GeneralRe: Application Freeze after ScreenSaver/Workstation Lock/Display Change Pin
musefan13-Oct-09 1:55
musefan13-Oct-09 1:55 
AnswerRe: Application Freeze after ScreenSaver/Workstation Lock/Display Change Pin
musefan13-Oct-09 1:54
musefan13-Oct-09 1:54 
QuestionOutlook-like scheduling control (chart) [modified] Pin
Programm3r12-Oct-09 21:56
Programm3r12-Oct-09 21:56 
QuestionThread Control Dillema Pin
xiviliae12-Oct-09 21:52
xiviliae12-Oct-09 21:52 
AnswerRe: Thread Control Dillema Pin
N a v a n e e t h12-Oct-09 22:10
N a v a n e e t h12-Oct-09 22:10 
Use wait handles. Work with AutoResetEvent and WaitOne() method on that. You need to supply AutoResetEvent instance to the worker class and once operation is done, call Set() on wait handle. Here is a modified code.
Void BeginCalculation()
{
  AutoResetEvent waitHandle = new AutoResetEvent(false);
  Calc1 = new WorkerClass(param1, param2, param3);
  Calc1.Start(waitHandle);   // passing wait handle to WorkerClass so that it can call Set() on it

  waitHandle.WaitOne();

  Calc2 = new WorkerClass(param1, param2, param3);
  Calc2.Start(waitHandle);

  waitHandle.WaitOne();

  //etc...
}
Smile | :)


GeneralRe: Thread Control Dillema Pin
xiviliae13-Oct-09 18:23
xiviliae13-Oct-09 18:23 
AnswerRe: Thread Control Dillema Pin
Luc Pattyn13-Oct-09 3:10
sitebuilderLuc Pattyn13-Oct-09 3:10 
QuestionCreating Excel files in C# witout having microsoft excel Pin
SummerBulb12-Oct-09 21:25
SummerBulb12-Oct-09 21:25 
AnswerRe: Creating Excel files in C# witout having microsoft excel Pin
stancrm12-Oct-09 21:28
stancrm12-Oct-09 21:28 
GeneralRe: Creating Excel files in C# witout having microsoft excel Pin
SummerBulb12-Oct-09 21:35
SummerBulb12-Oct-09 21:35 
AnswerRe: Creating Excel files in C# witout having microsoft excel Pin
DaveyM6913-Oct-09 2:02
professionalDaveyM6913-Oct-09 2:02 
QuestionInterface using C# with Microsoft access database Pin
julyhaluna12-Oct-09 21:12
julyhaluna12-Oct-09 21:12 
AnswerRe: Interface using C# with Microsoft access database Pin
Calla12-Oct-09 21:32
Calla12-Oct-09 21:32 
GeneralRe: Interface using C# with Microsoft access database Pin
julyhaluna12-Oct-09 21:59
julyhaluna12-Oct-09 21:59 
GeneralRe: Interface using C# with Microsoft access database Pin
Calla12-Oct-09 22:18
Calla12-Oct-09 22:18 
QuestionPDF Files Pin
Pavan Navali12-Oct-09 19:02
Pavan Navali12-Oct-09 19:02 
AnswerRe: PDF Files Pin
Calla12-Oct-09 20:16
Calla12-Oct-09 20:16 
GeneralRe: PDF Files Pin
Pavan Navali9-Nov-09 20:07
Pavan Navali9-Nov-09 20:07 
AnswerRe: PDF Files Pin
0x3c012-Oct-09 20:38
0x3c012-Oct-09 20:38 
QuestionSQLDBCommandwrapper Pin
NICE TO MEET12-Oct-09 18:10
NICE TO MEET12-Oct-09 18:10 
QuestionSqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 16:57
snayler012-Oct-09 16:57 
AnswerRe: SqlDataAdapter.Fill() error. Pin
PIEBALDconsult12-Oct-09 17:04
mvePIEBALDconsult12-Oct-09 17:04 

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.