
HELP: Using ActiveX Control in web page
I have an ActiveX control in a web page. I use
VBScript to call a method of
the control. The problem is that VBScript is trying to call the method
BEFORE the control is downloaded and installed on the user's computer thus
giving an error that the method does not exist. Is there a way to "wait"
until the control has been installed?
Here's my page
<HTML><HEAD><TITLE>Demo</TITLE>
</HEAD><BODY><P align=center>
<OBJECT ID="UserInterface"
CLASSID="CLSID:97FCE8EB-1CD6-11D4-A076-0060977CC68B"
NAME="UserInterface" WIDTH=515 HEIGHT=355
CODEBASE="NRptGUI.CAB#version=1,0,0,13">
</OBJECT></P>
<SCRIPT language="VBScript">
**** ERROR HERE ****
UserInterface.SetProps False, "The Net Reporter Demo", "MyServer"
</SCRIPT>
</BODY></HTML>
Any help would be appreciated
Thanks