Re: making plug in for kids browsers



TahoeKid <roger@xxxxxxxxxx> wrote:
CComBSTR bsUrl = _T("http://www.pbs.org";);
CComVariant vTarget = "_BLANK";
CComVariant vEmpty;
m_spWebBrowser2->Navigate(bsUrl, &vEmpty, &vTarget,
&vEmpty, &vEmpty);

With target=_BLANK, you explicitly ask for a new instance. Just pass
vEmpty as target, too.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.