Open default browser from IWebBrowser2

  • Thread starter Thread starter Tasvir
  • Start date Start date
T

Tasvir

Hi all,
Is there a way to intercept click of hyperlink in a Browser Control ?
What I actually want to do is intercept such a click and open the
link / URL in the default browser (Chrome / Firefox).
It seems like I.Es WebBrowser control interprets hyperlinks internally
and opens in Internet Explorer, even through I.E is not the default
browser.
Info: I'm using VC++ to develop my chat application.

Any help in this regard will be highly appreciated.

Cheers
 
Hi Tas,

Check your file associations for Internet Shortcuts. Just because you don't
have IE set as your default browser, does not mean that the file
associations have been changed also.

Older versions of FX and the AM Browser, did not switch the file
associations completely when the default browser was changed or the browser
was uninstalled.


Have you added <base target="_blank"> to your chat page (this ensures that
all links on the page will open in a new window/process)

Regards.
 
Back
Top