activetrader
Programmer
Hi all,
I encounter error in Active Reports which I cannot solve. I hope you can help. thank you.
Scenario:
An executable calls a DLL multiple times [1000 calls] to print a report.
In the DLL, ActiveReportPreview is instantiated in the constructor.
In the ActiveReportPreview class constructor, initializecomponent is then called.
In the Initializecomponent method, DataDynamics.ActiveReports.Viewer.Viewer() is instantiated.
Error encountered:
ERROR: 06/08/2011 19:32:05 Error in Class_Initialize.
System.Windows.FormsError creating window handle. at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TreeView.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.TabPage.set_Visible(Boolean value)
at DataDynamics.ActiveReports.Viewer.TableOfContents.#ih()
at DataDynamics.ActiveReports.Viewer.TableOfContents..ctor()
at DataDynamics.ActiveReports.Viewer.TableOfContentsObject..ctor()
at DataDynamics.ActiveReports.Viewer.Viewer.#ih()
at DataDynamics.ActiveReports.Viewer.Viewer..ctor(#Oil v)
at DataDynamics.ActiveReports.Viewer.Viewer..ctor()
at Reports.Forms.ActivePreview.InitializeComponent() in \\ActivePreview.Designer.cs:line 31
at Reports.Forms.ActivePreview..ctor() in \\ActivePreview.cs:line 23
at Reports.Report..ctor() in \\Report.cs:line 1958
Location: Report - Class_Initialize
I encounter error in Active Reports which I cannot solve. I hope you can help. thank you.
Scenario:
An executable calls a DLL multiple times [1000 calls] to print a report.
In the DLL, ActiveReportPreview is instantiated in the constructor.
In the ActiveReportPreview class constructor, initializecomponent is then called.
In the Initializecomponent method, DataDynamics.ActiveReports.Viewer.Viewer() is instantiated.
Error encountered:
ERROR: 06/08/2011 19:32:05 Error in Class_Initialize.
System.Windows.FormsError creating window handle. at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TreeView.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.TabPage.set_Visible(Boolean value)
at DataDynamics.ActiveReports.Viewer.TableOfContents.#ih()
at DataDynamics.ActiveReports.Viewer.TableOfContents..ctor()
at DataDynamics.ActiveReports.Viewer.TableOfContentsObject..ctor()
at DataDynamics.ActiveReports.Viewer.Viewer.#ih()
at DataDynamics.ActiveReports.Viewer.Viewer..ctor(#Oil v)
at DataDynamics.ActiveReports.Viewer.Viewer..ctor()
at Reports.Forms.ActivePreview.InitializeComponent() in \\ActivePreview.Designer.cs:line 31
at Reports.Forms.ActivePreview..ctor() in \\ActivePreview.cs:line 23
at Reports.Report..ctor() in \\Report.cs:line 1958
Location: Report - Class_Initialize