Open default browser from IWebBrowser2

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
 
R

rob^_^

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top