Page 1 of 1

TChart1_Click

Posted: Thu Oct 16, 2014 7:00 pm
by 16070156
We are using TeeChart.Net Sourcecode Edition an we get an Error on the _Click event an the TeeChart Object with the following Error Message from the Net Framework. Obscure is, the the error occurs in an Windows Forms Application on some Win Machines and on some not!?

How can we interscept these Error ?
System.InvalidCastException: Ungültige Konvertierung von der Zeichenfolge System.InvalidCastException: Das in Typ Boolean. ---> System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
bei Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
bei Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(String Value)
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(String Value)
bei...TChart1_Click(Object sender, MouseEventArgs e)
bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Thanks and Best Regards

Re: TChart1_Click

Posted: Fri Oct 17, 2014 9:01 am
by narcis
Hi CvO,

Could you please send a Short, Self Contained, Correct (Compilable), Example project to reproduce the problem and the exact instructions we should follow to reproduce the problem here consistently? It would also help if you could identify the kind of machine where the problem occurs.

Thanks in advance.