TeeChart for .Net v1 with Visual Studio 2010

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Thu Oct 14, 2010 9:09 pm

I am using Steema TeeChart for .Net V1

Upgrading the project form VisualStudio 2008 to 2010 is causing the following problem:

The resource form (.resx) of the form where the TeeChart graphic is placed on does not compile.
I always get the the following xml exception:

------------
Error 2 Specific exception: "XmlException" Message: "Type in the data at line 312, position 5, cannot be loaded because it threw the following exception during construction: Object reference not set to an instance of an object. ---> XmlException: Type in the data at line 312, position 5, cannot be loaded because it threw the following exception during construction: Object reference not set to an instance of an object. Line 312, position 5. ---> NullReferenceException: Object reference not set to an instance of an object." S:\Test Version 2.1\V&F History 2.1\VFHistory21\HistoryForm.resx VFHistory21
--------

In the .resx file the following part causes the problem:

<data name="tChart1.Chart" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJUZWVDaGFydCwgVmVyc2lvbj0xLjEuMTg2NC4yMjc4OCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj05YzgxMjYyNzZjNzdiZGI3DAMAAABRU3lzdGVtLkRy
YXdpbmcsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNm
...
CIRAAAAAAAAAh0AAAAAAAFCGQAAAAAAAeIZAAAAAAAAgikAAAAAAANiGQAAAAAAAKIdAAAAAAACgiUAA
AAAAAHiLQAAAAAAACIpAAAAAAACQiEAAAAAAAIiLQAAAAAAAqIxAAAAAAADQiEAAAAAAABCJQAAAAAAA
OIZAAAAAAABQiUAAAAAAAPiFQAAAAAAAMIJAAAAAAAAIhUAAAAAAALCIQAAAAAAAoIdAAAAAAABQh0AQ
EgAAAAAAAAAL
</value>
</data>


as soon as I am removing this value section from the resx xml-file the project can be compiled without errors. And works fine.
But as soon as i am changing anything on the teechart grapic, this section is written again and the program does not compile again.

Has anybody an idea?

Thanks a lot, Markus.

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

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Narcís » Fri Oct 15, 2010 7:35 am

Hi Markus,

Maybe removing the base64 tag as described here would do. Another example of base64 removal can be found here. Can you please try it at your end?
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Fri Oct 15, 2010 9:29 am

Yes, removing the .base64 tag helps, but of course changing anything on the graphic control in the designer will put back this tag again. Do you see any other sollution which only has to be done once?

Thanks a lot, Markus

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

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Narcís » Fri Oct 15, 2010 9:38 am

Hi Markus,

I'm afraid not. *.resx files are generated by Visual Studio. Moreover, VS2010 didn't exist during TeeChart for .NET v1 development life time so we could not anticipate this issue. You could try downloading TeeChart 2010 for .NET fully functional evaluation version and check if this solves the problem at your end.
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Fri Oct 15, 2010 9:42 am

I am considering an Upgrade to the VisualStudio 2010 Version.
Is this newer Version compatible with the Version v1 I have?

Thanks for your quick reply.

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

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Narcís » Fri Oct 15, 2010 9:48 am

Hi Markus,

Yes, backwards compatibility is something we specially care about when developing new features in TeeChart. Code breaking features, if any, are documented in release notes shipped with each version and available at http://www.steema.com/versioninfo/net. Anyway, I don't think you should have much problems upgrading your applications. If any issue occurs don't hesitate to let us know.
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Tue Nov 02, 2010 8:39 pm

Hi Narcis,

I finally made an update to the newest Verstion to TeeChart2010 Release September 2010.
But already the installation got wrong.

I have a Windows 7, 64 bit running with Visual Studio2010 installed.
First the installation procedure causes Windows to send a memory dump to Microsoft (some ToolBox Erroro accured) and second the installer aborted with the problem that it could not find the HelpLibManager.

I tried a lot of manually steps, like adding the help manually and adding teechart.dll manually to the VisualStudio Toolbox.
But now I get a licensse problem. TeeChart cant find the correct license.

Investigating your forum got me to the following error report: [TF02015099].
Do you have an idea, when this problem will be solved?
Or do you have another sollution for installing TeeChart2010 on Windows 7 64 bit?

Thanks a lot, Markus.

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

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Narcís » Wed Nov 03, 2010 9:20 am

Hi Markus,
I tried a lot of manually steps, like adding the help manually and adding teechart.dll manually to the VisualStudio Toolbox.
But now I get a licensse problem. TeeChart cant find the correct license.
Which is the exact error message you get?
Investigating your forum got me to the following error report: [TF02015099].
Do you have an idea, when this problem will be solved?
I'm sorry but I can not provide an estimate date for now.
Or do you have another sollution for installing TeeChart2010 on Windows 7 64 bit?
I think manual installation should work fine.
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Wed Nov 03, 2010 3:33 pm

Hi Narcis,

let me explain my installation adventure in detail:

* I started the program "TeeChartNET2010VSNET2010_4.1.2010.09283.exe
* I entered all the information for the installation procedure
* The installation procedure started, it has copied 100% of all files, then the installer starts to do some additional tasks
* Now the following error message occures:
"Windows cannot find 'C:\PROGRA~2\Microsoft Help Viewer\v1.0\HelpLibManager.exe'. Make sure you typed the name correctly, and then try again.
* I pressed OK, got the message: "Could not execute the external program C:\PROGRA~2\Microsoft Help Viewer\v1.0\HelpLibManager.exe."
* After pressing OK again, the installer terminates.

Now I started VisualStudio2010, add a new tab in the toolbox and add manually all items from TeeChart.dll to this tab.
Then I created a new Windows-Forms-Project and tried to move the TChart-Control onto the main form.

Now I got the folowing error message:
"System.ComponentModel.LicenseException: An instance of type 'Steema.TeeChart.Chart' was being created, and a valid license could not be granted for the type 'Steema.TeeChart.Chart'. Please, contact the manufacturer of the component for more information. at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at Steema.TeeChart.Chart..ctor() at Steema.TeeChart.TChart..ctor()'"


Thanks for your Help Narcis!

PS: Maybe you know a sequence of manual tasks to establisch a well defined installation, with all help included, on a WIN7 x64 system. Thank you so much!

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

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Narcís » Wed Nov 03, 2010 3:42 pm

Hi Markus,

This problem indicates that the designtime license was not properly installed in your machine. To check and confirm that you should follow the steps I described here.

Thanks in advance.
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Thu Nov 04, 2010 2:34 pm

Yes, the license was not installed properly, with the program TeeRegV2010.exe I could fix it (Run as administrator is important), thank you!

Another obvious problem ist the fact that the help files are not installed, how can I fix that.

It would be nice if there exists a standard way, no matter if manually steps are necessary, to install your product. I am just trying to install TeeChart.Net on a plain new Windows 7 x64 installation with everything standard.

Let me ask one more question:
The components, i manually added to the toolbox of VisualStudio seem to work only with the .net framework 4.0
According to your specifications in the internet there should be a version for the .net framework 2.0 also. Maybe i just installed the components from a wrong dll-file. Could you please tell me the right components for use with the .net framework 2.0

Thanks a lot, Markus.

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

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Narcís » Thu Nov 04, 2010 2:46 pm

Hi Markus,
Another obvious problem ist the fact that the help files are not installed, how can I fix that.
Using F1 in a non-TeeChart object in Visual Studio do you get the help window?
Let me ask one more question:
The components, i manually added to the toolbox of VisualStudio seem to work only with the .net framework 4.0
According to your specifications in the internet there should be a version for the .net framework 2.0 also. Maybe i just installed the components from a wrong dll-file. Could you please tell me the right components for use with the .net framework 2.0
For .NET Framework 2.0 you should install VS2005 or VS2008 components instead of VS2010's.
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

Markus
Newbie
Newbie
Posts: 23
Joined: Tue Nov 23, 2004 5:00 am
Location: Austria
Contact:

Re: TeeChart for .Net v1 with Visual Studio 2010

Post by Markus » Sat Nov 06, 2010 5:11 pm

Thanks Narcis.

So I installed the version VS2008 (TeeChartNET2010VSNET2008_4.1.2010.09282.exe) to geht the .net 2.0 components.

The installation of this version got much better, only two errors appear:
first: ToolbxEditor 2008 has stopped working
second: TeeGofer Help2 Registration Utility has stopped working.

After adding the components manually to the VisualStudio Toolbox I could start with the first steps with the new TeeChart components.

I still like your component, but i guess the installation problems will keep away a lot of new customers.

All the best from Austria, Markus.

Post Reply