internetexplorer.application shows error

Home Forums Scripting Windows Script Host internetexplorer.application shows error

Viewing 1 post (of 1 total)
  • Author

  • Roman_k

    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.