Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET! Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET!

internetexplorer.application shows error

Home Forums Scripting Windows Script Host internetexplorer.application shows error

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.

Register for Advanced Microsoft 365 Day!

GET-IT: Advanced Microsoft 365 1-Day Virtual Conference - Live August 24th!

Join us on Tuesday, August 24th and hear from Microsoft MVPs and industry experts about how to take advantage of Microsoft 365 at a technical level and dive deep into the features and functionality that will make your environment more secure and compliant.

RSVP Now

Sponsored By