Elton Brown
asked on
Microsoft VBScript compilation (0x800A0400) - Option Explicit
I am attempting to create and setup property values for my object. (Script is below)
When I run the file script it receive the followin error message:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/verbat/SetProperties.asp, line 7
Option Explicit
Any suggestion(s) to remove this problem are welcome!
<html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<%
Option Explicit
Dim objTelephone
Set objTelephone = Server.CreateObject("MyTel ephone.Tel ephone")
objTelephone.Color = "Blue"
objTelephone.Material = "Thermoplastic"
objTelephone.Weight = 22
objTelephone.NumberIfKeys = 12
Response.Write "Done"
Set objTelephone = Nothing
%>
</body>
</html>
When I run the file script it receive the followin error message:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/verbat/SetProperties.asp,
Option Explicit
Any suggestion(s) to remove this problem are welcome!
<html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<%
Option Explicit
Dim objTelephone
Set objTelephone = Server.CreateObject("MyTel
objTelephone.Color = "Blue"
objTelephone.Material = "Thermoplastic"
objTelephone.Weight = 22
objTelephone.NumberIfKeys = 12
Response.Write "Done"
Set objTelephone = Nothing
%>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.