Hi Sandra,
Thank you for your quick response, the code now works.
By the way, the code I sent you was from your forum site.
Thanks again
Tom
Search found 3 matches
- Mon Mar 28, 2011 11:45 pm
- Forum: ActiveX
- Topic: TeePreviewer InvalidCastExpectation
- Replies: 5
- Views: 6286
- Fri Mar 25, 2011 11:54 pm
- Forum: ActiveX
- Topic: TeePreviewer InvalidCastExpectation
- Replies: 5
- Views: 6286
Re: TeePreviewer InvalidCastExpectation
Hi, Attached is a small project file as requested. I look forward to your resolution asap, this issue is very frustrating to say the least. OS: Windows 7 Professional Processor: Intel Core(TM)2 Quad CPU Q8200 @2.33GHz Visual Studio 2010 Sp1 (VB.NET) Installed TeeCharts: TeeChart Version 7.0.1.4 TeeC...
- Fri Mar 25, 2011 12:58 am
- Forum: ActiveX
- Topic: TeePreviewer InvalidCastExpectation
- Replies: 5
- Views: 6286
TeePreviewer InvalidCastExpectation
Why am I geting this error when running this code (Using Pro ActiveX 2010.0.0.3 ) Error : "Unable to cast object of type 'AxTeeChart.AxTChart' to type 'TeeChart.TChart'." With TeePreviewer1 .Chart = TChart1 .PreviewTitle = "My Custom Title" .ShowPreview() End With Regards Tom