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  Roman_k 3 weeks, 4 days ago.

Viewing 1 post (of 1 total)
  • Author
    Posts

  • Roman_k
    Member
    #167760

    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
    Loop
    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?

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.