Page 1 of 1

Teechart2011.cab and evaluation version

Posted: Fri Nov 18, 2011 9:47 am
by 16560339
Dear Support,

I test actually the ActiveX in order to buy a license (we are already client with Teechart VCL) but
I have a problem with the file Teechart2011.cab, I read of course the Section 18 without succes.

If i edit the teechart2011.ini file in the cab file, I see:

Code: Select all

; INF file for TeeChart2011.ocx
[version] 
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0  

[Add.Code]
teechart2011.ocx=teechart2011.ocx
TeeUserx2011.hlp=TeeUserx2011.hlp

; needed hlpfile
[TeeUserx2011.hlp]
file-win32-x86=thiscab
DestDir=11
RegisterServer=yes

[teechart2011.ocx]
file-win32-x86=thiscab
clsid={FCB4B50A-E3F1-4174-BD18-54C3B3287258} 
FileVersion=9,0,0,0 
RegisterServer=yes  
; end of INF file
but in the cab file I have TeeChart2011Eval.ocx

Is for this reason that my I.E. can't show my chart ?
(of course, Eval version has been installed on a server, and in local (localhost), I.E. shows me a beautilful chart)

I read also in the "What more in.." file that you provides a link to a cab file ( http://www.steema.com/files/activex/pub ... chart9.cab
) but this link is broken. Do you have another one ? and could you tell me the version ?

Could you help me please?

Sincerely,
Bruno

Re: Teechart2011.cab and evaluation version

Posted: Tue Nov 29, 2011 10:52 am
by yeray
Hi Matheo,

Excuse us for the delayed reply here.
Matheo Soft. wrote:I have a problem with the file Teechart2011.cab, I read of course the Section 18 without succes.

If i edit the teechart2011.ini file in the cab file, I see:

Code: Select all

    ; INF file for TeeChart2011.ocx
    [version]
    ; version signature (same for both NT and Win95) do not remove
    signature="$CHICAGO$"
    AdvancedINF=2.0 

    [Add.Code]
    teechart2011.ocx=teechart2011.ocx
    TeeUserx2011.hlp=TeeUserx2011.hlp

    ; needed hlpfile
    [TeeUserx2011.hlp]
    file-win32-x86=thiscab
    DestDir=11
    RegisterServer=yes

    [teechart2011.ocx]
    file-win32-x86=thiscab
    clsid={FCB4B50A-E3F1-4174-BD18-54C3B3287258}
    FileVersion=9,0,0,0
    RegisterServer=yes 
    ; end of INF file
but in the cab file I have TeeChart2011Eval.ocx

Is for this reason that my I.E. can't show my chart ?
(of course, Eval version has been installed on a server, and in local (localhost), I.E. shows me a beautilful chart)
There was a problem in the cab generated. It should be corrected in next evaluation versions. In the meanwhile, here you can find the correct one:
http://www.steema.com/files/activex/pub ... 11Eval.cab
Matheo Soft. wrote:I read also in the "What more in.." file that you provides a link to a cab file ( http://www.steema.com/files/activex/pub ... chart9.cab
) but this link is broken. Do you have another one ? and could you tell me the version ?
The correct file is at:
http://www.steema.com/files/activex/pub ... rt2010.cab
Could you please tell us where did you exactly find the wrong link so we can correct it?

Re: Teechart2011.cab and evaluation version

Posted: Tue Nov 29, 2011 11:08 am
by 16560339
Hi !

Damned it don't work even....
There was a problem in the cab generated. It should be corrected in next evaluation versions. In the meanwhile, here you can find the correct one:
http://www.steema.com/files/activex/pub ... 11Eval.cab
It works fine with http://127.0.0.1.... but if I try to connect from the "Net" the chart don't appear.... :'(

Code: Select all

.....
    <script language="VBScript">
    SUB FillChart

     With Chart1
         'sets up Chart to print from IE's print option
         .Environment.IEPrintWithPage=True
         .RemoveAllSeries
         .AddSeries(1)
         .Aspect.gdiplus.active = True
         .Aspect.View3D=False
     	 .Legend.Visible=False
         .Panel.Gradient.Visible=False
         .Panel.Color=RGB(255, 255, 255)
    	 .Walls.Visible = False
     End With

     With Chart1.Header
         .Text.Clear
         .Text.Add("Publication Date")
         .Transparent = True
     End with

     With Chart1.Footer.Font
         .Name = "Tahoma"
         .Bold = False
     End With

     With Chart1.Series(0)
         .Clear
         .Title="MyPatent"
         .ColorEachPoint=True

         .Add 47, "1998", 536870912
.Add 41, "2000", 536870912
.Add 20, "1990", 536870912
.Add 3, "1989", 536870912
.Add 36, "1992", 536870912
.Add 30, "2001", 536870912
.Add 50, "1994", 536870912
.Add 33, "1997", 536870912
.Add 49, "1999", 536870912
.Add 39, "1996", 536870912
.Add 37, "1991", 536870912
.Add 44, "1995", 536870912
.Add 32, "1993", 536870912


		 .Marks.Transparent = True
         .Marks.Style = smsValue
   	     .asBar.BarStyle = 8
		 .asBar.BarPen.Visible = false
		 .asBar.Transparency = 35

         .asBar.Shadow.Visible = False
         .asBar.Emboss.Visible = True
         .asBar.Emboss.VertSize = 3
         .asBar.Emboss.HorizSize = -4
         .asBar.Emboss.color = RGB(192, 192, 192)

         .Cursor = 2020
     End With
    END SUB

    Sub Chart1_OnClickSeries(SeriesIndex, ValueIndex, Button, Shift, X, Y)
        Chart1.StopMouse
	    if Chart1.Series(SeriesIndex).PointLabel(ValueIndex) <> "" then
          msgbox Chart1.Series(SeriesIndex).PointLabel(ValueIndex)
        else
          msgbox Chart1.Series(SeriesIndex).YValues.Value(ValueIndex)
        end if
    end sub

	Sub Window_Onload()
		FillChart
	End Sub
   </script>
....
....
            <object
               id="Chart1"
               width="400"
               height="320"
               type="application/x-oleobject"
               hspace="0"
               vspace="0"
               classid="CLSID:FCB4B50A-E3F1-4174-BD18-54C3B3287258"
               codebase="http://XX.XXX.X.152:20080/tchart/Teechart2011Eval.cab#Version=9,0,0,0">
            </object>

Re: Teechart2011.cab and evaluation version

Posted: Tue Nov 29, 2011 11:11 am
by 16560339
Concerning the link, it was inside the file "What more in full version.txt" in the ActiveXEval version

Re: Teechart2011.cab and evaluation version

Posted: Mon Dec 05, 2011 10:45 am
by narcis
Hello,

We have modified the demo, which I attach, and works fine for us here. Can you please check if it works fine at your end?

Thanks in advance.

Re: Teechart2011.cab and evaluation version

Posted: Mon Dec 05, 2011 10:59 am
by 16560339
Hi Yeray,

Is it normal that you post a HTML file zipped ?

Otherwise, I downloaded the cab in this html file but It don't work, ... :'(

Re: Teechart2011.cab and evaluation version

Posted: Mon Dec 05, 2011 11:09 am
by Pep
Hi Matheo,

you only have to unzip the file attached, and them run the html file by using internet explorer. It should try to use the cab file which has been uploaded on our web site, at a public place.
I'm able to run the file and allowing to run ocx file into the browser, see the chart component.
What happens when you do this ? what are you seeing into the browser ? which error does it give you ?

Re: Teechart2011.cab and evaluation version

Posted: Mon Dec 05, 2011 11:23 am
by 16560339
Hi Pep,

Ok your html file works fine, so now I will see the difference between your sample and mine.

Thx a lot !

Re: Teechart2011.cab and evaluation version

Posted: Mon Dec 05, 2011 11:31 am
by Pep
Ok, I'm glad to hear it works now.

Re: Teechart2011.cab and evaluation version

Posted: Mon Dec 05, 2011 11:40 am
by 16560339
May be a network protection cause my problem...

Re: Teechart2011.cab and evaluation version

Posted: Tue Dec 06, 2011 1:19 pm
by 10050769
Hello Matheo Soft,

Thanks for your information :). This information can help us and other clients to solve the similar problems as it.


Thanks,