Page 1 of 1

troubles with VS2005

Posted: Fri Sep 21, 2007 7:23 am
by 8125790
Hello,

we are using Steema Teechart for a long time with our application developed with VS 2003.

Now that we have migrated in VS2005 we encounter a problem on each form using a chart component:

private void InitializeComponent()
{
...
this.cursorToolLeft.Series = this.lineForceL;
...
}

It is not possible to open the Design interface because of the error : "Object reference not set to an instance of an object"

cursorToolLeft is a Steema.TeeChart.Tools.CursorTool
lineForceL is a Steema.TeeChart.Styles.Line

Could somebody tell me what is wrong ?

thanks in advance[/i]

Posted: Fri Sep 21, 2007 7:53 am
by narcis
Hi dams77,

It's strange. Using VS2005's automatic upgrading system should have upgraded your applications fine. How did you ported them to VS2005? Is there any other information in the error message?

Thanks in advance.

Posted: Fri Sep 21, 2007 8:01 am
by 8125790
Hi,

I just let Visual Studio do the job for me (2K3 -> 2K5). But I'm still using the same TeeChart component: TeeChart.NET v1.

I have found a workaround : to set the Cursor property Active to false to open the Design Interface.

any idea ?

thank you

dam's

Posted: Fri Sep 21, 2007 8:04 am
by narcis
Hi dam's,

Not that I can think of. Are you using the latest TeeChart for .NET v1 update build available at the client area? If you are using an old v1 release it could be that has some issue with VS2005.

If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.