habe diesen Code:
<%@ Language=VBScript %>
<%
'On Error Resume Next
strPath = Server.MapPath(".") 'retrieve the physical directory where ASP
pages are located
Set objPieChart = Server.CreateObject("Dundas.PieChartServer.2") 'create an
instance of the control
objPieChart.DirTemplate = strPath & "\Templates\" 'set the Template
directory of the control objPieChart.DirTexture = strPath & "\Textures\"
'set the Textures directory of the control
rt = objPieChart.LoadTemplate("Textures.cuc") 'load a template (made
in the Template Editor)
'add 3 slices to the pie chart and specify values (sizes) and slice labels
rt = objPieChart.AddData(25,"Label1")
rt = objPieChart.AddData(25,"Label2")
rt = objPieChart.AddData(25,"Label3")
'now set the legend entry text
rt = objPieChart.AddLabel("Slice1")
rt = objPieChart.AddLabel("Slice2")
rt = objPieChart.AddLabel("Slice3")
'output graphics as a jpeg file, specifying the width and height of the
image
rt = objPieChart.SendJPEG(450,350 )
%>
da kommt eine Fehlermeldung:
Serverobjekt-Fehler 'ASP 0177 : 800401f3'
Server.CreateObject-Fehler
/test/tuerkan/make.asp, Zeile 8
Ung�ltiger Klassenstring
das ist genau die zeile:
Set objPieChart = Server.CreateObject("Dundas.PieChartServer.2")
muss ich noch eine komponente installieren. oder was ist da falsch???
_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp
| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp