I have been trying to test an ActiveX control in a web page instantiated using the OBJECT tag. According to all the documentation I've read, the control should be able to be referenced in script code by the value in the ID attribute. E.g if in the web page I set:
< OBJECT ID="MyAXobj" ... < /OBJECT >
in a vbscript function in the web page I should be able to:
Function MyFunc
' Code statements
Dim MyProp
MyProp = MyAXobj.property
' etc.
End Function
However I am getting the "Object Required: 'MyAXobj'" vbscript error when I attempt this. What am I missing here?
Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.