1. Try to load ActiveX
2. If successful, use it.
3. If not successful, DO NOT try to install it.
4. Redirect to different page
The problem is I can get it to stop going to activex.microsoft.com and
codex.microsoft.com! Based on the codebasepath registry entry, and
default HTML OBJECT behavior, it insists on trying to locate the
control to install it. This causes our filewall logon screen to
activate which looks like an error to the users.
Any ideas on how to stop or override this behavior? I don't want
everyone to have this control... only use it if it's already there.
Here's the basics of my code... thanks!!
<OBJECT type = "hidden" ID="APIntegrator" name="APIntegrator"
CLASSID="CLSID:76136A9F-BE80-11D5-81BF-0000F6DC4E2B"
CODEBASE="do-not-try-to-find-this!">
</OBJECT>
</HTML>
<SCRIPT LANGUAGE=VBScript>
'Call up the ActiveX control "APIntegrator"
Set objFileNetIDM = document.all("APIntegrator")
sReturned = objFileNetIDM.IntegratorRun
'Check to see if the APIntegrator was loaded
If sReturned <> "0" Then
'If no APIntegrator, reroute them to web viewer
window.navigate("PSWebview.asp?DocID=14000000")
End if
</script>