My problem seems to get worse. Right now I get the overflow error every time I click on the document to create a box.
I deleted the vshost.exe and started the exe from debug folder. I get the same exception but with some additional information (see below). Remarkable perhaps is that the flowchart document shows a big red cross when I press continue on the exception screen.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OverflowException: Overflow error.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillRectangle(Brush brush, Single x, Single y, Single width, Single height)
at System.Drawing.Graphics.FillRectangle(Brush brush, RectangleF rect)
at MindFusion.FlowChartX.Box.Draw(Graphics g, Boolean shadow)
at MindFusion.FlowChartX.FlowChart.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------
TestApp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/TestApp.exe----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
LayoutControl
Assembly Version: 1.0.2505.19445
Win32 Version: 1.0.0.0
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/LayoutControl.DLL----------------------------------------
FlowChart.NET
Assembly Version: 4.2.1.26067
Win32 Version: 4.2.1.26067
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/FlowChart.NET.DLL----------------------------------------
Ruler
Assembly Version: 4.2.1.26086
Win32 Version: 4.2.1.26086
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/Ruler.DLL----------------------------------------
MEFlowChart
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/MEFlowChart.DLL----------------------------------------
TableSizer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/TableSizer.DLL----------------------------------------
MERichTextBoxControl
Assembly Version: 1.0.2505.18980
Win32 Version: 1.0.0.0
CodeBase:
file:///D:/PRG/LayoutControlSolution/TestApp/bin/Debug/MERichTextBoxControl.DLL----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I am getting a bit desperate as I can not track down the problem.
Please tell if I should post all the sourcecode the program runs through until the exception appears.