Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I use objects. [code] Dim mobjdoc

Status
Not open for further replies.

JohnYingling

Programmer
Mar 24, 2001
3,742
US
I use objects.
Code:
Dim mobjdocument as object
Dim objelements as object
Dim objelement as object
With mobjWeb
    Do
        Set mobjDocument = mobjWeb.Document
        If Err.Number <> 0 Then Exit Do
        If mobjDocument Is Nothing Then Exit Do
        '*****
        '* META http-equiv=&quot;Refresh&quot; BYPASS REDIRECTION
        '*****
        Set objElements = mobjDocument.getElementsByTagName(&quot;Meta&quot;)
        If Err.Number <> 0 Then Exit Do
        If objElements Is Nothing Then Exit Do
        For Each objElement In objElements
            If LCase(objElement.httpEquiv) = &quot;refresh&quot; Then
                '* We are still busy
                blnBusy = True
                Exit Do
            End If
        Next
    Exit do: loop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top