I am trying to check for a string in the HTML of a web page, so I can pop up a message box if the page points to an Access snap file. I am using 'WebBrowser1.Document.body.InnerHTML' to pull in the page and then using the InStr function. If the PC has IE 5.0 or greater, it works fine. If the user has IE 4, and they navigate to a page with frames, then the 'InnerHTML' statement generates a "Method '~' of object '~' failed." run-time error, and then crashes.