J
joeboyden
Hi,
I have an asp page that I want to have launch, and check to see if the
client already has an activex control installled, and if not, redirect
them to another page where they don't need the control.
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 a default windows registry entry, and
default 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?
Here's the basics of my asp code...
<OBJECT type = "hidden" ID="APIntegrator" name="APIntegrator"
CLASSID="CLSID:76136A9F-BE80-11D5-81BF-0000F6DC4E2B"
CODEBASE="if-not-found-do-not-try-to-install!!">
</OBJECT>
</HTML>
<SCRIPT LANGUAGE=VBScript>
'Call up the ActiveX control "APIntegrator"
Set objFileNetIDM = document.all("APIntegrator")
sReturned = objFileNetIDM.IntegratorRun
'Check to see if the ActiveX control is responding
If sReturned <> "0" Then
'No ActiveX control, so reroute to web viewer
window.navigate("PSWebview.asp?DocID=14000000")
End if
</script>
I have an asp page that I want to have launch, and check to see if the
client already has an activex control installled, and if not, redirect
them to another page where they don't need the control.
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 a default windows registry entry, and
default 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?
Here's the basics of my asp code...
<OBJECT type = "hidden" ID="APIntegrator" name="APIntegrator"
CLASSID="CLSID:76136A9F-BE80-11D5-81BF-0000F6DC4E2B"
CODEBASE="if-not-found-do-not-try-to-install!!">
</OBJECT>
</HTML>
<SCRIPT LANGUAGE=VBScript>
'Call up the ActiveX control "APIntegrator"
Set objFileNetIDM = document.all("APIntegrator")
sReturned = objFileNetIDM.IntegratorRun
'Check to see if the ActiveX control is responding
If sReturned <> "0" Then
'No ActiveX control, so reroute to web viewer
window.navigate("PSWebview.asp?DocID=14000000")
End if
</script>