Click here to Skip to main content
15,893,904 members
Home / Discussions / C#
   

C#

 
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 
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 
Seems like Calc.Start() launches the calculation, causing it to run asynchronously, whereas what you want is to execute it synchronously.

So you need a Calc.Run() method, which basically does what Calc.Start() does, then waits on the calculation to finish; one way to achieve that is using a WaitHandle as Navaneeth has already indicated. But you really should hide that inside your Calc class.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? Neen!


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 
AnswerRe: SqlDataAdapter.Fill() error. Pin
Not Active12-Oct-09 17:04
mentorNot Active12-Oct-09 17:04 
GeneralRe: SqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 17:12
snayler012-Oct-09 17:12 

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.