I have a partial program to spider a web site. Recently I noticed when I hit certain web pages, I am presented with a popup dialog box:
Internet Explorer
This page has an unspecified potential security risk.
Would you like to continue?
Yes No
I did some googling and found this goes way back to IE6 with MS patch 06-045 (KB921398). I am on IE8 WXP SP3. This specific patch did not appear in Add/Remove so I am unable to specifically remove this patch. The code snipet looks like this:
Set GetWebPage = DocumentFactory.createDocumentFromUrl(strUrl, "")
Do While tmr + GWebPageTimeout > Timer
If GetWebPage.readyState = "complete" Then
Exit Do
End If
DoEvents
Loop
When the popup appeared while stepping through the code, I noticed the readyState is "Interactive" instead of the expected "complete". I was going to try to get around this programatically by checking whether this window opens up with the specific window title but the debugger stops processing source code lines until I hit the Yes or No to the dialog box. Ideas? Workarounds? Snipets?
Internet Explorer
This page has an unspecified potential security risk.
Would you like to continue?
Yes No
I did some googling and found this goes way back to IE6 with MS patch 06-045 (KB921398). I am on IE8 WXP SP3. This specific patch did not appear in Add/Remove so I am unable to specifically remove this patch. The code snipet looks like this:
Set GetWebPage = DocumentFactory.createDocumentFromUrl(strUrl, "")
Do While tmr + GWebPageTimeout > Timer
If GetWebPage.readyState = "complete" Then
Exit Do
End If
DoEvents
Loop
When the popup appeared while stepping through the code, I noticed the readyState is "Interactive" instead of the expected "complete". I was going to try to get around this programatically by checking whether this window opens up with the specific window title but the debugger stops processing source code lines until I hit the Yes or No to the dialog box. Ideas? Workarounds? Snipets?