Re: how to get raw HTML data



"Andrew Yao" <andrewyao@xxxxxxxxxxxxxxxx> wrote in message
news:c2Wyf.38$Zr6.258@xxxxxxxxxxxxxxx
> Is there a way to get the entire HTML data stream from IE?

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

  • Re: Saving the content of the webbrowser control
    ... Query the document object for IPersistStreamInit, ... SHCreateStreamOnFile to get an IStream implementation that writes to a ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Getting the raw HTML from IE
    ... Query the document object for ... IPersistStreamInit, call Save. ... You can get an in-memory stream ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Getting the raw HTML from IE
    ... Query the document object for ... IPersistStreamInit, call Save. ... You can get an in-memory stream ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: IHTMLFrameElement hasChildNodes , plse help
    ... > a document object of the HTML page loaded into the frame. ... Starting at the IHTMLFrameSetElment I query the IHTMLDOMNode ... my recursive program. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)