Page 1 of 1

make teechart run in client

Posted: Fri May 12, 2006 3:37 am
by 9526928
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.

Posted: Fri May 12, 2006 8:04 am
by narcis
Hi gong,

For deploying information please read Tutorial 18 - TeeChart runtime installation requirements.

can't show in client

Posted: Tue May 16, 2006 7:00 am
by 9526928
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.

Posted: Tue May 16, 2006 7:27 am
by narcis
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?

Posted: Wed May 17, 2006 12:07 am
by 9526928
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?

Posted: Sun May 21, 2006 8:32 pm
by Pep
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.