Hi Vlad,
Thanks for the tip. This is the closest I've yet seen to what I was looking for. Note, however, that it doesn't quite pick everything up: it doesn't get the outer HTML tags, for example. It does get the HEAD section, however. I'm not sure if it's possible for this to miss anything sandwiched between the initial HTML and HEAD, and it definitely is not quite as complete as View Source.
Mike
>Hi!
>
>document.documentElement.innerHTML
>
>See help about the documentElement property of the document object in MSDN, as well as a note there about the getting HTML of the complete document.
>
>Hope this helps.
>
>>Could someone please tell me what is the most straightforward way to get to the
full HTML source of a web page once it is loaded into an instance of IE or a WebBrowser control? ...document.body.innerHTML and ...outerHTML don't include the header stuff between the outer HTML tags. I'm looking for a way to reference the entire text, as displayed by the View Source menu commands. Is there a simple way to get to this directly from the document object?
>>
>>TIA
>>
>>Mike