make teechart run in client

TeeChart for ActiveX, COM and ASP
Post Reply
gong
Newbie
Newbie
Posts: 14
Joined: Wed May 18, 2005 4:00 am
Location: China
Contact:

make teechart run in client

Post by gong » Fri May 12, 2006 3:37 am

hi,
To use teechart's zoom in/out function, I write a .asp making teechart run in client. The .asp can run in local pc. But in the pc without teechart, I can't call the web in which I write the .asp.
How can I deal with it? I can't install the teechart in every pc.

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

Post by Narcís » Fri May 12, 2006 8:04 am

Hi gong,

For deploying information please read Tutorial 18 - TeeChart runtime installation requirements.
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

gong
Newbie
Newbie
Posts: 14
Joined: Wed May 18, 2005 4:00 am
Location: China
Contact:

can't show in client

Post by gong » Tue May 16, 2006 7:00 am

hi,
I have read the chapter in teechart 7 help, and write as follow:
<OBJECT id="TChart1"
height="290"
width="550"
type="application/x-oleobject"
hspace="0"
vspace="0"
classid="CLSID:FAB9B41C-87D6-474D-AB7E-F07D78F2422E"
codebase="http://10.10.68.28/Teechart7.cab#version=7,0,0,0">
<param name="Base64" value="VFBGMAtUQ2hhcnRDaGFydAAETGVmdAIAA1RvcAIABVdpZHRoAyYCBkhlaWdodAMiARJUaXRsZS5U
ZXh0LlN0cmluZ3MBBghUZWVDaGFydAAQTGVnZW5kLkFsaWdubWVudAcIbGFCb3R0b20AAAAAAAAC
AAAAAP////8="></OBJECT>
But it yet can't show in client. I think if it is relation to the position of teechart installed? The path is D:\Aplication\Steema Software\TeeChart Pro v7 ActiveX Control\Cab files.
I don't know how to write the codebase.

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

Post by Narcís » Tue May 16, 2006 7:27 am

Hi gong,
But it yet can't show in client. I think if it is relation to the position of teechart installed? The path is D:\Aplication\Steema Software\TeeChart Pro v7 ActiveX Control\Cab files.
I don't know how to write the codebase.
Have you tried copying the .cab file in the path you wrote in the codebase so that the client can download it?
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

gong
Newbie
Newbie
Posts: 14
Joined: Wed May 18, 2005 4:00 am
Location: China
Contact:

Post by gong » Wed May 17, 2006 12:07 am

hi,
when I copy the .cab file to position where .asp file lies. The teechart can be down load, and show. But I can't know if it is necessary to copy the .cab file to the web root?

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Sun May 21, 2006 8:32 pm

Hi,

you need to have the .cab file in a server which it can be download from the client. And then and Example... from the Tutorials :
Example

<object
id="Chart1"
width="400"
height="268"
type="application/x-oleobject"
hspace="0"
vspace="0"
classid="CLSID:FAB9B41C-87D6-474D-AB7E-F07D78F2422E"
CODEBASE="http://www.myweb.com/teechart7.cab#Version=7,0,0,0">
</object>

Changing the version number (teechart.cab#Version=7,0,0,0) allows you to manage which version the client machines should be running. The first time a client browser connects to the application it will download the CAB file. Thereafter it will check the local version against the version defined in the version line. Thus if you wish the client version to be upgraded, change the html page's version number to the server version number that you wish to make available and the client browser will download it if the local version is older.
Example of use
Setting teechart.cab#Version=7,0,0,1 in the <OBJECT> definition causes the browser to check the local version and download the CAB only if the local version is anterior. Assuming v7.0.0.1 is downloaded the first time, the server based CAB is not called for download again until the version number in the codebase line is again incremented. Internet Explorer updates the registry with any differences between versions.

Post Reply