Re: Access to HTML Source through WebBrowser2 ActiveX



"ashim akbari" <MsAshim@xxxxxxxxxxxx> wrote in message
news:eMg7dt4eFHA.2844@xxxxxxxxxxxxxxxxxxxx
> I have dialog based program. And I used "WebBrowser2 ActiveX"
>
> And I want to have html-source of that I been Navigate like
> "mail.yahoo.com" as CString or VARIANT or .

Get the document object (IWebBrowser2::get_Document), query for
IPersistStreamInit, call Save. You can create an in-memory IStream
implementation with CreateStreamOnHGlobal.
--
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


.



Relevant Pages

  • Access to HTML Source through WebBrowser2 ActiveX
    ... And I used "WebBrowser2 ActiveX" ... And I want to have html-source of that I been Navigate like "mail.yahoo.com" ... as CString or VARIANT or. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Access to HTML Source through WebBrowser2 ActiveX
    ... And I used "WebBrowser2 ActiveX" ... And I want to have html-source of that I been Navigate like "mail.yahoo.com" ... as CString or VARIANT or. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)