471,082 Members | 926 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,082 software developers and data experts.

DHTML Error plz help asap...

I am trying to run a DHTML program.. but it show me an error... "Object does not support the property or method". My program is written below..

<HTML>
<HEAD>
<TITLE>Structured Graphics - Shapes</TITLE>
</HEAD>
<BODY>
<OBJECT ID = "shapes" STYLE = "background-color: #CCCCFF; width: 500; height: 400"
CLASSID = "CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">
<PARAM NAME = "Line0001" VALUE = "SetLineColor( 0, 0, 0 )">
<PARAM NAME = "Line0002" VALUE = "SetLineStyle( 1, 1 )">
<PARAM NAME = "Line0003" VALUE = "SetFillColor( 0, 255, 255 )">
<PARAM NAME = "Line0004" VALUE = "SetFillStyle( 1 )">

<PARAM NAME = "Line0005" VALUE = "Oval( 0, -175, 25, 50, 45 )">
<PARAM NAME = "Line0006" VALUE = "Arc( -200, -125, 100, 100, 45, 135, 0 )">
<PARAM NAME = "Line0007" VALUE = "Pie( 100, -100, 150, 150, 90, 120, 0 )">
<PARAM NAME = "Line0008" VALUE = "Polygon(5, 0, 0, 10, 20, 0, -30, -10, -10, -10, 25)">
<PARAM NAME = "Line0009" VALUE = "Rect( -185, 0, 60, 30, 25 )">
<PARAM NAME = "Line0010" VALUE = "RoundRect( 200, 100, 35, 60, 10, 10, 25 )">
<PARAM NAME = "Line0011" VALUE = "SetFont( 'Arial', 65, 400, 0, 0, 0 )">
<PARAM NAME = "Line0012" VALUE = "Text( 'Shapes', -200, 200 , -35 )">
<PARAM NAME = "Line0013" VALUE = "SetLineStyle( 2,1 )">
<PARAM NAME = "Line0014" VALUE = "PolyLine( 5, 100, 0, 120, 175, -150, -50, -75, -75, 75, -75)">
</OBJECT>
</BODY>
</HTML>

This program is mention in the Deitel n Deitel book.. but its not working on my system.. I am using Windows XP Prof with SP2, my IE version is 6.0 with SP2.

Please help me asap...
Mar 15 '07 #1
3 1068
iam_clint
1,208 Expert 1GB
do you have that activex control on your computeR?
Mar 15 '07 #2
yes i do..
Mar 16 '07 #3
acoder
16,027 Expert Mod 8TB
Which line do you get the error on?
Mar 19 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Paul THompson | last post: by
1 post views Thread by tracernet_v2 | last post: by
3 posts views Thread by Joe Turek | last post: by
1 post views Thread by Massimo Bonanni | last post: by
17 posts views Thread by Jacques Jamain | last post: by
4 posts views Thread by ciprian.dosoftei | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.