Posted on 2003-11-01
I have written an IE BHO that uses the IHTMLDocument2 interface to alter the HTML, i need to be able to get the complete modified source including all the tags <!DOCTYPE....<HTML>....</HTML>. the get_body->get_innerHTML only gives me the <BODY>.....</BODY> section, thats no good i need the lot.
I either need to have it as a sting (BSTR) or be able to save it to a file.
i have already seen the few questions on here that suggest get_body, please dont suggest them... it dont work how i want it to.