Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Re: FW: Problem showing charts


Message #1 by "Peter Dexter" <peter.dexter@e...> on Tue, 18 Jun 2002 05:59:33
Hi,

Not so much an answer as a further complication.

I have a similar problem with some work I'm doing, except that the chart 
shows correctly in IE5, but when viewing as a web page in Outlook (as a 
default home page of a folder), gives the error that you also have.

I'm guessing it's some sort of internet zone security thing.  Maybe this 
will tweak someone's thought processes towards a solution.

Cheers,
pd

> Tristian put this on the list earlier, but Lyris decided it was a 
duplicate
> message and rejected it. As it isn't, I'm posting it to the list (again).
> 
> Chris
> 
> From: Tristian O'brien 
> Hi,
>  
> I am having the problem with my chart.  I know the msowc.cab file is up 
on
> the webhosts site.  The error message i receive is:
>  
> object doesn't support this property or method: 'ChartSpace1.Clear'
>  
>  
> <html>
> <body>
>  
> <object classid="clsid:0002E500-0000-0000-C000-000000000046"
> id="ChartSpace1" codebase=file:"<%=server.mappath("msowc.cab")%>"
> width="576" height="339"></object>
>  
> <script language=vbscript>
>  
> Sub Window_OnLoad()
>  
>     Dim oChart
>     Dim oSeries1, oSeries2
>     dim oConst
>     
>     'Ensure ChartSpace1 is empty:
>     ChartSpace1.Clear

  Return to Index