ActiveReports for .NET 2.0 Visual Studio .NET 2005 Support

Started by jsobell at 11-03-2005 1:36 AM. Topic has 1 replies.

Print Search
Sort Posts:    
   11-03-2005, 1:36 AM
jsobell is not online. Last active: 3/28/2006 1:06:26 AM jsobell

Top 500 Posts
Joined on 09-05-2003
Posts 24
Bug closing window after zooming report
When the dispose method is called on the viewer after zooming in on a document, the error shown below is generated by the Viewer.
The workaround (bodge) is to turn off the toolbar in the Dispose sub by using something like:

Viewer1.Toolbar.Visible = False

This problem shows up on the release version of VS2005, with the latest beta of AR2 (ARNET24201186)

Jason

A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll

Caught error closing report window: System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

at System.Windows.Forms.Control.Invoke(Delegate method)

at DataDynamics.ActiveReports.Viewer.ViewerToolbar.-3d20(Int32 currentPage, Int32 pageCount, Int32 historyPosition, Int32 historyCount, Single zoomVal, -2c2e type, Boolean completed, Boolean multiplePageMode)

at DataDynamics.ActiveReports.Viewer.-bdec.OnCreateControl()

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.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.UserControl.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)

at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)

at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)

at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.get_Handle()

at System.Windows.Forms.Control.get_HostedInWin32DialogManager()

at System.Windows.Forms.Control.get_HostedInWin32DialogManager()

at System.Windows.Forms.Control.WmSetFocus(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.TextBoxBase.WndProc(Message& m)

at System.Windows.Forms.TextBox.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.SetFocus(HandleRef hWnd)

at System.Windows.Forms.ContainerControl.FocusActiveControlInternal()

at System.Windows.Forms.ContainerControl.AfterControlRemoved(Control control, Control oldParent)

at System.Windows.Forms.Control.ControlCollection.Remove(Control value)

at System.Windows.Forms.Control.Dispose(Boolean disposing)

at System.Windows.Forms.ComboBox.Dispose(Boolean disposing)

at System.ComponentModel.Component.Dispose()

at DataDynamics.ActiveReports.Viewer.ViewerToolbar.Dispose(Boolean disposing)

at System.ComponentModel.Component.Dispose()

at DataDynamics.ActiveReports.Viewer.ToolbarObject.Dispose(Boolean disposing)

at DataDynamics.ActiveReports.Viewer.Viewer.Dispose(Boolean disposing)

at System.ComponentModel.Component.Dispose()

at System.Windows.Forms.Control.Dispose(Boolean disposing)

at System.Windows.Forms.Form.Dispose(Boolean disposing)

at APMRGReporter.BaseReportForm.Dispose(Boolean disposing) in P:\APMRG Project\Reporter\BaseReportForm.vb:line 45

The program '[3880] APMRGReporter.vshost.exe: Managed' has exited with code -1073741819 (0xc0000005).


   Report 
   11-10-2005, 12:51 PM
Trent is not online. Last active: 8/24/2007 7:16:29 PM Trent

Top 10 Posts
Joined on 08-28-2004
Posts 2,623
Re: Bug closing window after zooming report
This issue should be resolved in our next public release.
   Report 
GrapeCity » Forum Archives » ActiveReports f... » Re: Bug closing window after zooming report

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.