Installation of TeeChart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Installation of TeeChart

Post by Anders » Fri Mar 30, 2012 8:24 am

Hello

I have problems with installing the product

Steema TeeChart for .NET 2011 4.1.2012.01030

on my Win7

I ran the executable, entered the license number and continued to the completion, and apparently no problem

I expected that when I opened my VS2010, I could find the components at the component palette.
I searced for a step-by-step guide in the collection of the help files and the chm files, but did not find anything.

Where can I get the "step-by-step" guide to complete my installation, so I can put the components on my forms in my VS2010?

b.t.w.
On same machine both Delphi XE2 - containing TeeChart (pro) which works fine
and
MSVS2008
and
Of cource MSVS2010

Best regards

Anders

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Installation of TeeChart

Post by Sandra » Fri Mar 30, 2012 3:38 pm

Hello Anders,

You only need follow next steps to add the Components of TeeChart.net to Tool Box:
1.- Open VS2010
2.- Create a new tab with name TeeChart
3.- Click with button right and select choose Items
4.- Click in button Browse and select your TeeChart.dll in the folder you are installed this.

Can you confirm us if after do previous steps your TeeChart components appear?

Thanks,
Best Regards,
Sandra Pazos / 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

Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Re: Installation of TeeChart

Post by Anders » Fri Mar 30, 2012 8:30 pm

I made the steps as indicated, and the components appeared on the tool palette.
However:
I made a new empty form
Compiled it - success
Run it success (only an empty form appeared on the screen as expected)

Dropped a TChart component on the form
Tried to compile - NOT Successfull.

Following warnings/errors appeared:

Warning 1
The referenced assembly "TeeChart" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".
Please remove references to assemblies not in the targeted framework or consider retargeting your project.
WindowsApplication4

Warning 2
The referenced assembly "TeeChart" could not be resolved because it has a dependency on "System.Web,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,
Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
WindowsApplication4

Error 3
Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=4.1.2012.1033, Culture=neutral, PublicKeyToken=9c8126276c77bdb7'
c:\users\anders balslev\documents\visual studio 2010\Projects\WindowsApplication4\WindowsApplication4\My Project\licenses.licx 1
WindowsApplication4

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Installation of TeeChart

Post by Sandra » Mon Apr 02, 2012 1:32 pm

Hello Anders,

Seems your problem is produced because you are creating a Client Profile application and you use a TeeChart.dll. Please try to do next to solve your problem:
1.- Click on WindowsApplication4 with right button and select properties
2.- Go to Framework target and change Framework 4.0 Client Profile to Framework 4.0
3.- Run again your project.

If you want work with a Client Profile application you need do next:
1.- Go to references and remove TeeChart.dll
2.- Do click with right button and select Add References
3.- Go to the folder where you install TeeChartFor .Net 2012 and you select TeeChart.Client.dll
4.- Run again your project.

Can you tell us if previous steps solve your problem?

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

optimum
Newbie
Newbie
Posts: 5
Joined: Fri May 04, 2012 12:00 am

Re: Installation of TeeChart

Post by optimum » Mon May 07, 2012 11:17 pm

Good day.

I'm tagging on a question to this thread as I believe it is similar.

We are building a setup project into an existing TeeChart 2012 .NET application. The application used .NET Framework 4.0 initially but now since we are looking at building the setup app we want to use the lighter weight client profile (so that this can be the prereq in the setup project rather than requiring a full blown 4.0 to be installed). When we change our Teechart project to reference the .NET 4.0 client profile and remove teechart.dll replacing it with teechart.client.dll and we compile the project we get:
Error 2 Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=4.1.2012.2283, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' E:\Opt_Soft\DotNet\CSharp\Optimum\Properties\licenses.licx 1 Optimum

Is the assembly reference no longer valid in the license file if I change from full to client profile?

Thanks in advance for any help you can provide.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Installation of TeeChart

Post by Sandra » Tue May 08, 2012 9:30 am

Hello optimum,

If you want use client profile, remember apart from change TeeChart.dll to TeeChart.Client.dll to change the .Net Framework 4.0 to .Net Framework 4.0 Client. If you change it and the problem persist, I recommend you, remove the file licenses.licx to properties and recompile your application.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

optimum
Newbie
Newbie
Posts: 5
Joined: Fri May 04, 2012 12:00 am

Re: Installation of TeeChart

Post by optimum » Tue May 08, 2012 2:14 pm

In my playing around swapping b/w client and full of .NET 4 I had erroneously left the project as .NET 4 full when using teechart.client. I changed the project to use client profile and tried the build again.
In then gave me a could not find type... error (I didn't save it).
I removed the licenses.licx file, cleaned the solution and did a full rebuild but now it says:
Error 2 'Could not find file 'E:\Opt_Soft\DotNet\CSharp\Optimum\Properties\licenses.licx'.' E:\Opt_Soft\DotNet\CSharp\Optimum\LC Optimum

Cheers.

optimum
Newbie
Newbie
Posts: 5
Joined: Fri May 04, 2012 12:00 am

Re: Installation of TeeChart

Post by optimum » Tue May 08, 2012 2:29 pm

Ok, so I read up on Tutorial 17 and recreated the license file by adding a Chart. I noticed that adding the chart also added a reference to TeeChart (where I had previously had only TeeChart.Client). Now all is good. I'm thinking I may have removed TeeChart reference thinking that by adding the TeeChart.Client reference that it would be enough and trying to keep my project slim (no unwanted files). For clarification then, if I still require the reference to TeeChart in addition to TeeChart.Client and will need both of these for distribution in my setup project.

Thanks.

optimum
Newbie
Newbie
Posts: 5
Joined: Fri May 04, 2012 12:00 am

Re: Installation of TeeChart

Post by optimum » Tue May 08, 2012 5:00 pm

The last sentence of my last post should have been an question:
For clarification then, if I still require the reference to TeeChart in addition to TeeChart.Client and will need both of these for distribution in my setup project?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Installation of TeeChart

Post by Sandra » Wed May 09, 2012 9:31 am

Hello optimum,

As tell in the definition of .Net Framework 4.0 Client Profile: "the .NET Framework 4 Client Profile is a subset of the .NET Framework 4 that is optimized for client applications. It provides functionality for most client applications, including Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features. This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile." Therefore to distribute your application, only addinng TeeChart.Client.dll, application should be working. Please, if your project still doesn't works only using TeeChart.Client.dll, please send me it so we can try to solve your problem.

Thanks,
Best Regards,
Sandra Pazos / 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

optimum
Newbie
Newbie
Posts: 5
Joined: Fri May 04, 2012 12:00 am

Re: Installation of TeeChart

Post by optimum » Wed May 09, 2012 2:30 pm

Thanks for the quick replies Sandra :).

I should rephrase my question...during design time I must have teechart.dll as a reference to be able to compile or I get assembly ref not found. I tried just deploying my app with teechart.client.dll only and it appears to work client side...so I guess the question becomes can I build a project with just teechart.client.dll as a reference as currently it seems I need a teechart.dll reference for design/compile purposes?

Cheers.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Installation of TeeChart

Post by Sandra » Thu May 10, 2012 11:07 am

Hello optimum,

You can add TeeChart.Client components in design-time and you can work and compile with the components the same way that if you are working with a not client profile application. Therefore, you don't need Teechart.dll design/compile purposes. I have attached here a simple project where I only work with client profile, you can check it if it works as you expect.
WindowsFormsApplication35.zip
(25.44 KiB) Downloaded 564 times
Best Regards,
Sandra Pazos / 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