Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8435465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:55:22+00:00 2026-06-10T06:55:22+00:00

How can I find if IWebBrowser2::Navigate cannot open the URL I want? I mean,

  • 0

How can I find if IWebBrowser2::Navigate cannot open the URL I want?

I mean, the website may not exist at all, and IE simply display an Error 404, and return S_OK after the function.

How can I obtain details on the status of navigation request?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:55:24+00:00Added an answer on June 10, 2026 at 6:55 am

    The method returns success because web browser indeed succeeded in navigating per your request. It did what it had to and being unable to locate the website it, as it is expected, displayed 404 page. Hence, S_OK.

    The DWebBrowserEvents2::NavigateError Event gives you detail you need. You need to handle browser events to receive the detail you need.

    This event fires before Windows Internet Explorer displays an error page due to an error in navigation. An application has a chance to stop the display of the error page by setting the Cancel parameter to VARIANT_TRUE. However, if the server contacted in the original navigation supplies its own substitute page navigation, when you set Cancel to VARIANT_TRUE, it has no effect, and the navigation to the server’s alternate page proceeds. For example, assume that a navigation to http://www.www.wingtiptoys.com/BigSale.htm causes this event to fire because the page does not exist. However, the server is set to redirect the navigation to http://www.www.wingtiptoys.com/home.htm. In this case, when you set Cancel to VARIANT_TRUE, it has no effect, and navigation proceeds to http://www.www.wingtiptoys.com/home.htm.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can find the definition files at http://www.php.net/~helly/php/ext/spl/... but I want to extend DirectoryIterator
I can find syntax charts on this on the SQLite website, but no examples
I can find all non-matched lines of file with grep -v 'my_pattern' some_file .
i can find all link in dir by command: find . -type l But
I can find information to do what I want in VC++ 6.0 at codeproject.com
I can find plenty of examples that show how to configure a URL to
I can find all the children of a given record in a hierarchical data
You can find many open source projects in the INTERNET (such as Linux,open office,...)
I can find numerous discussions like this on the web however I cannot find
I can find the JS and HTML code in response by alert() . But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.