Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. WebBrowser - Detect http errors [modified]

WebBrowser - Detect http errors [modified]

Scheduled Pinned Locked Moved C#
csharphelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mertli Ozgur Nevres
    wrote on last edited by
    #1

    Hi, is there any way to detect http errors (like 404) with .net2.0 WebBrowser object? I have WebBrowser object in my form. It navigates some addresses periodically. These addresses sometimes returns an error, like http 404 or 500 or so on. I want to handle these errors in my form. But i could not find a way to do this. Thanks -- modified at 7:20 Wednesday 6th December, 2006

    ozgur.nevres

    V 1 Reply Last reply
    0
    • M Mertli Ozgur Nevres

      Hi, is there any way to detect http errors (like 404) with .net2.0 WebBrowser object? I have WebBrowser object in my form. It navigates some addresses periodically. These addresses sometimes returns an error, like http 404 or 500 or so on. I want to handle these errors in my form. But i could not find a way to do this. Thanks -- modified at 7:20 Wednesday 6th December, 2006

      ozgur.nevres

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      If you are using Microsoft XMLHttp, the status code would help you do that. You can check out some examples over here: http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/[^]

      Vasudevan Deepak Kumar Personal Homepage Tech Gossips

      M 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        If you are using Microsoft XMLHttp, the status code would help you do that. You can check out some examples over here: http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/[^]

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        M Offline
        M Offline
        Mertli Ozgur Nevres
        wrote on last edited by
        #3

        This is not what i mean. Let me explain my problem: I have WebBrowser object in my form. It navigates some addresses periodically. These addresses sometimes returns an error, like http 404 or 500 or so on. I want to handle these errors in my form. But i could not find a way to do this.

        ozgur.nevres

        RaviBeeR 1 Reply Last reply
        0
        • M Mertli Ozgur Nevres

          This is not what i mean. Let me explain my problem: I have WebBrowser object in my form. It navigates some addresses periodically. These addresses sometimes returns an error, like http 404 or 500 or so on. I want to handle these errors in my form. But i could not find a way to do this.

          ozgur.nevres

          RaviBeeR Offline
          RaviBeeR Offline
          RaviBee
          wrote on last edited by
          #4

          Perhaps this[^] article will help? In particular, handle the NavigateError event. /ravi

          My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups