[MFC] Using IWebBrowser2 => Navigate with TargetFrameName



Can someone explain me how i can use the Navigate method to target a
specific frame within a frameset?

I tried the following way:
VARIANT vargFrame = {0};
VariantInit(&vargFrame);

vargFrame.vt = VT_BSTR;
CString mainFrame = "<anyFrame>";
vargFrame.bstrVal = mainFrame.AllocSysString();

m_browserWindow.Navigate(strURL, NULL,&vargFrame,NULL,NULL);

... But it does not work :(

Any help is highly appreciated.
Thanks in advance for your advice!

Emin.


.



Relevant Pages

  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Target won't work for me because the originating page with the search box is not part of any frameset. ... If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work. ... On each library's website there is a search box to search the catalog, which is on a completely different server from the websites. ...
    (php.general)
  • [MFC] Using IWebBrowser2 => Navigate with TargetFrameName
    ... Can someone explain me how i can use the Navigate method to target a ... specific frame within a frameset? ... VARIANT vargFrame =; ...
    (microsoft.public.vc.mfc)
  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Vail Systems Technology ... Target won't work for me because the originating page with the search box is not part of any frameset. ... If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work. ...
    (php.general)
  • Re: Still having link problems opening in middle frame
    ... On your actual frameset page, remove the target values, then on indexleft and indexright, select ... each link and set the target value to the actual name of the middle frame, ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.frontpage.client)
  • Re: [PHP] Re: Passing variable to a page in a frameset
    ... Vail Systems Technology ... Target won't work for me because the originating page with the search box is not part of any frameset. ... If it does then it doesn't matter where the form is, just specify the target as the name of the frame and it will almost certainly work. ...
    (php.general)