DaFonseca (2) [Avatar] Offline
#1
I downloaded Chapter4 files, and run it,,
the system has sent the following message and the chart has not been drawned:
What can be done?

System.InvalidOperationException: Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead.
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at <StartupCode$FSI_0003>.$FSI_0003.main@() in C:UsersdafonsecaDocumentsVisual Studio 2012ProjectsChapter04Chapter04_FSharpProgram.fs:line 229
Stopped due to error

Message was edited by:
DaFonseca