I have following code to detect for xmlhttp object and it fails on default
security settings in IE6 Win XP, but works on IE6.0 Wn 2000

<SCRIPT language="VBScript">
Function DetectWinhttp()
On error resume next
DetectWinhttp = IsObject(CreateObject("Microsoft.XMLHTTP"))
end function
</SCRIPT>

Re: Why xmlhttp detection fails? by Bob

Bob
Thu Oct 07 17:40:11 CDT 2004

manish wrote:
> I have following code to detect for xmlhttp object and it fails on
> default security settings in IE6 Win XP, but works on IE6.0 Wn 2000
>
> <SCRIPT language="VBScript">
> Function DetectWinhttp()
> On error resume next
> DetectWinhttp = IsObject(CreateObject("Microsoft.XMLHTTP"))
> end function
> </SCRIPT>

What does "fails" mean? Error message? Incorrect result?

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"