Usage of IWebBrowser2Ptr

Kamal 1 Reputation point
2022-10-16T17:05:06.967+00:00

In VC++ I need to use IWebBrowser2Ptr to navigate to the default browser instead of always to IE. Since IE got discontinued already, Is there any way to use IWebBrowser2Ptr in such a fashion so that it can always navigate to default web browser.

Thank you !

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,828 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 86,496 Reputation points
    2022-10-16T17:37:16.72+00:00

    IWebBrowser2 is IE
    To navigate to the default browser, you can use ShellExecute


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.