anyday Posted March 27, 2006 Posted March 27, 2006 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
greenmachine Posted March 27, 2006 Posted March 27, 2006 Something similar to: If StringInStr (_IEBodyReadHtml ($IEObj), "The page cannot be displayed") Then MsgBox (0, "Haha", "You've got a problem.") EndIf
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now