We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Invalid operation error

Thread ID:

Created:

Updated:

Platform:

Replies:

27171 Apr 7,2005 10:16 AM UTC Apr 13,2005 05:32 PM UTC Windows Forms 5
loading
Tags: Chart
Sara
Asked On April 7, 2005 10:16 AM UTC

Hi, I get the following error when I add series to the chartcontrol. -- Exception is -- Object is currently in use elsewhere. System.InvalidOperationException: The object is currently in use elsewhere. at System.Drawing.Graphics.EndContainer(GraphicsContainer container) at System.Windows.Forms.DibGraphicsBufferManager.ReleaseBuffer(GraphicsBuffer buffer) at System.Windows.Forms.GraphicsBuffer.Dispose() at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -- Exception -- Thanks for your help, Sara

Sara
Replied On April 7, 2005 11:24 AM UTC

Hi, I get the following error when I add series to the chartcontrol. -- Exception is -- Object is currently in use elsewhere. System.InvalidOperationException: The object is currently in use elsewhere. at System.Drawing.Graphics.EndContainer(GraphicsContainer container) at System.Windows.Forms.DibGraphicsBufferManager.ReleaseBuffer(GraphicsBuffer buffer) at System.Windows.Forms.GraphicsBuffer.Dispose() at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -- Exception -- Please find the sample application attached. This is the sample which is given during the syncfusion installation. the application as such works fine, but if we change the points to the following it crashes giving the above mentioned error. please replace line 182 to 187 in formmain.cs with the following and you can see it work series.Points.Add(3,6); series.Points.Add(2,9); series.Points.Add(0,5); series.Points.Add(0,8); series.Points.Add(1,7); series.Points.Add(2,9); if the points are double like(3.9,6.6) it works fine but if it is int like(3,6) it gives this error please let me know wht could be the reason. Thanks for your help, Sara cs_9545.zip

Davis Jebaraj [Syncfusion]
Replied On April 7, 2005 08:57 PM UTC

Hi Sara, I see the problem based on the information you have provided. I have asked our development team to look into the problem. Thank you for your patience. Regards, Davis

Sara
Replied On April 8, 2005 12:15 PM UTC

Hi, Thanks for the response. Awaiting solution from you. Thanks a lot, Sara

Administrator [Syncfusion]
Replied On April 11, 2005 04:29 AM UTC

Hi Daivs, Awaiting reply from your side. Please do help. Thanks Sara

Davis Jebaraj [Syncfusion]
Replied On April 13, 2005 05:32 PM UTC

Hi Sara, Sorry for the delay in responding. I will inform you as soon as a patch release is available. Thanks, Davis

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;