Sign in to follow this  
Followers 0
anyday

Help With Script The Page Cannot Be Displayed

2 posts in this topic

im making a script to navigate and do certain functions on a company website of mine.

is there something i can set where if anytime during the script if for some reason internet explorer reaches the page cannot be displayed screen it will either refresh or display a msgbox telling user to try again?

i know how to set this up after every link is taken but that seems like a pain and was wondering if there was an easier way to do it.

thanks

Share this post


Link to post
Share on other sites



Something similar to:

If StringInStr (_IEBodyReadHtml ($IEObj), "The page cannot be displayed") Then
MsgBox (0, "Haha", "You've got a problem.")
EndIf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0