I'm attempting to use V6.04 with a .net application. I've included a referrence to the TeeChart6.dll and created the objects as:
Dim objChart As New TeeChart.TChartClass
However when I try:
objChart.Legend.Visible = False
I get an error message:
Run-time exception thrown : System.InvalidCastException - QueryInterface for interface TeeChart.ITChart failed.
Any idea on what I'm doing wrong. I'm new to .NET and converting a .asp/vb6 application to .NET. I don't use the Teechart.Net version because we lose many of the features we use in v6.04