internetexplorer.application shows error

Home Forums Scripting Windows Script Host internetexplorer.application shows error

This topic contains 0 replies, has 1 voice, and was last updated by Avatar Roman_k 1 year ago.

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    Hi All
    I have a simple vb script that opens IE window and navigates to a link:

    Set oIE=createobject(“internetexplorer.application”)
    Do While (oIE.Busy)
    Wscript.Sleep 250
    oIE.navigate “http://MyLink.htm”

    Most of the time it works fine but sometimes I am getting “Invalid procedure call or argument” error on oIE.navigate line
    Is there anything I am doing wrong?


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.