Exception when calling editor (v4)
Posted: Wed May 27, 2009 1:16 pm
Hello,
we have just upgraded our application from using TeeChart v3.5 to TeeChart v4.0.2009.16184 and now get an exception when the Chart Editor is called at runtime using the code:
Exception:
Any ideas as to why this might occur?
we have just upgraded our application from using TeeChart v3.5 to TeeChart v4.0.2009.16184 and now get an exception when the Chart Editor is called at runtime using the code:
Code: Select all
Call Me.TChart1.ShowEditor()
This does not occur on the computer where TeeChart is installed and the application is compiled, but it does occur on a blank system with only the .NET Framework Runtime (v2) installed and the TeeChart.dll in the folder of the executing assembly. All other TeeChart functionality seems to be working fine...System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.TChart.ChartComponentEditor.EditComponent(ITypeDescriptorContext context, Object aobject)
at Steema.TeeChart.TChart.ShowEditor(ITypeDescriptorContext context)
at Steema.TeeChart.TChart.ShowEditor()
Any ideas as to why this might occur?