Important notes about VBScript and Internet Explorer.

Return to Examples

  • When using Internet Explorer 3, make sure you have installed the 3.02 version. Otherwise the ActiveX control will not work.
  • The language used in these demos is VBScript. VBScript is a subset of the Visual Basic language. Not all things possible with Visual Basic can be done with VBScript.
  • Enumerated constants can not be used with the current VBScript versions. That means you can not use things like color constants like vbRed, vbBlue, etc. You should use the equivalent number in hexadecimal format, ie: "Font.Color=&HFF0000", or in RGB format: "Font.Color=RGB(0,0,255)"
  • According to the above, TeeChart Pro enumerated constants can not be used. For example, you should use "TChart1.AddSeries(0)" instead of "TChart1.AddSeries( scLine )".
  • The "With" statment can not be used in VBScript.
    You can use "set MyList=TChart1.Series(0).YValues" and use then the "MyList" variable like: "MyList.Value(0)=1234"
  • Use the global "Window_OnLoad()" event procedure to do your Chart initialization code. For example:
  • < SCRIPT LANGUAGE="VBScript">
    < !--
    Sub Window_onload()
     TChart1.AddSeries(5)
    end Sub
    -->
    < /SCRIPT>