p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_databases thread: Problem showing charts


Message #1 by Tristian O'brien <obrient@m...> on Fri, 21 Jul 2000 13:08:30 +0100
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01BFF30C.623CBFAE

Content-Type: text/plain;

	charset="iso-8859-1"



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








Message #2 by "Ken Schaefer" <ken.s@a...> on Tue, 25 Jul 2000 11:50:50 +1000
Tristian,



You are using an activeX control in your local browser, and it appears that

you are calling a method which the control does not support.



However I don't use this control, so I don't know if I can help you more

than that (perhaps looking the documentation might help...)



In any case, this list is called ASP_Databases, not sure what client-side

ActiveX charting controls have to do with ASP and databases.



Don't get me wrong, I'm not having a go at you. Rather trying to point out

that you are much more likely to get a quick and technically accurate reply

if you post to a more relevant list or newsgroup...



Cheers

Ken



----- Original Message -----

From: "Tristian O'brien" <obrient@m...>

To: "ASP Databases" <asp_databases@p...>

Sent: Friday, July 21, 2000 10:08 PM

Subject: [asp_databases] Problem showing charts





> 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