D
DavidE
Hi,
I use chartSpace in an asp file .
I have two machines in the same domaim. Both have windows 2000 server sp3
and office 2003.
One machine display the chart and the other gives error messeges.
The error message:
"Error: Object doesn't support this property or method:
'ChartSpace1.Clear'
The code:
<html>
<body>
<object id=ChartSpace1
classid=CLSID:0002E500-0000-0000-C000-000000000046
style="width:100%;height:450"></object>
<script language=vbscript>
Sub Window_OnLoad()
Dim oChart
Dim oSeries1
dim oConst
'Ensure ChartSpace1 is empty:
ChartSpace1.Clear
Set oConst = ChartSpace1.Constants
'Create a new chart in the ChartSpace
Set oChart = ChartSpace1.Charts.Add
'Add a series of type Column
Set oSeries1 = oChart.SeriesCollection.Add
I use chartSpace in an asp file .
I have two machines in the same domaim. Both have windows 2000 server sp3
and office 2003.
One machine display the chart and the other gives error messeges.
The error message:
"Error: Object doesn't support this property or method:
'ChartSpace1.Clear'
The code:
<html>
<body>
<object id=ChartSpace1
classid=CLSID:0002E500-0000-0000-C000-000000000046
style="width:100%;height:450"></object>
<script language=vbscript>
Sub Window_OnLoad()
Dim oChart
Dim oSeries1
dim oConst
'Ensure ChartSpace1 is empty:
ChartSpace1.Clear
Set oConst = ChartSpace1.Constants
'Create a new chart in the ChartSpace
Set oChart = ChartSpace1.Charts.Add
'Add a series of type Column
Set oSeries1 = oChart.SeriesCollection.Add