I have a basic application with WebBrowser1 control add on Form1.
I need to have navigation always into my program but some links open an
external IExplorer windows.
How I can do it?
Thanks
HRESULT hr = pBrowser2->Navigate(bstrURL, &vEmpty, &vEmpty, &vEmpty,
&vEmpty);
if (SUCCEEDED(hr))
{
// I didn't call this function.
pBrowser2->put_Visible(VARIANT_TRUE);
}
else
{
pBrowser2->Quit();
}
I just try it, and it works well.
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/ieext/workshop/browser/webbrowser/reference/ifaces/iwebbrowser2/iwebbrowser2.htm
"quyadong" wrote:
> I have the same problems in my BHO, and I can't find any useful help. Maybe
> IE had forbidden it for some security issues.