Web Browser Control Question

Lanc1988

Contributor
Joined
Nov 27, 2003
Messages
508
How can I set the web browser to navigate to a certain page when there was an error? (example.. when there is no internet connection)

Im using visual studio 2008 if that matters or not. Thanks.

Edit: Also, when I was using the AxWebBrowser control (in vb.net 2003) I had to include the ieframe.dll which is a pretty big file. Do I need to include that in my installation still with this new Web Browser control?
 
Last edited:
If there is no Internet connection, your visitors won't be able to get to your site.

So, my guess is, you want to know how to inform people in your company when the connection to the Internet is down. Does that sum it up? If so, you might need to look into going through a proxy or a 3rd Party firewall, which would host the Internet connection and allow you to configure pages to respond to 408 (timeout) or 503 (unavailable) messages.

See http://en.wikipedia.org/wiki/List_of_HTTP_status_codes for a larger list of these codes.
 
Back
Top