Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

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?

Edited by Lanc1988
  • 2 weeks later...
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...