Visual Studio 2005 "Whidbey"

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
JohnK
Newbie
Newbie
Posts: 1
Joined: Mon Oct 04, 2004 4:00 am

Visual Studio 2005 "Whidbey"

Post by JohnK » Tue Jan 04, 2005 4:45 pm

What is your time frame for upgrading TeeChart.Net to the .Net Framework 2.0? When will a beta of this be available?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 05, 2005 8:08 am

Hi JohnK,

The Evaluation and Release versions of the TeeChart for .Net component will run in the VS2005 beta 1 with a small modification; when running a vb.net winform with an empty chart dropped onto it you will receive the following error:

NullReferenceException was unhandled

This error is due to changes made to the handling of designtime serialisation visibility in the VS2005 beta and can be remedied within the Solution Explorer: click on the "Show All Files" button and open the child node of the Form.vb file called called Form1.Designer.vb and comment out the following line in the InitializeComponent() method:

Code: Select all

Me.TChart1.Chart = CType(resources.GetObject("TChart1.Chart"), Steema.TeeChart.Chart)
You will now be able to run the empty chart. To avoid similar issues in the VS2005 beta I recommend that you add TeeChart objects to your Chart at runtime rather than at designtime, e.g.

Code: Select all

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Bar1 As New Steema.TeeChart.Styles.Bar(TChart1.Chart)
Bar1.FillSampleValues()
End Sub
These issues will be seamlessly solved in the upcoming TeeChart for .NET version 2, a beta version of which will become available very soon.

The currently available version of the TeeChart Pro ActiveX Control, version 7, works without any issues whatsoever in the VS2005 beta 1. Again, running a vb.net winform with an empty chart dropped onto it you will give you no errors; adding objects to it either at designtime or runtime does not present any problems, e.g.

Code: Select all

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AxTChart1.AddSeries(TeeChart.ESeriesClass.scBar)
AxTChart1.Series(0).FillSampleValues(10)
End Sub
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply