>I am using the webBrowser activeX as a WSIWYG HTML Editor. Everything works fine as far as loading, viewing files. I can make changes to a web page, but when I save, the saved file appears to be a copy of the original loaded file - my changes are not saved.
>
>I have tried both
> oIE.Document.execCommand("saveas")
> oIE.Execwb(4,2,"c:\temp\newname.html")
>
>Is there additional code I need to execute before saving? Thanks for your help.
You're better off with stuffing something like .document.header.outerHTML+.document.getElementByTag("body").outerhtml into a variable, then strtofile() that into your file. That way you're in control; IE has its own mind as to what is the actual file content of the document. I'm not entirely sure of the DOM above, it's more to just give you an idea how to do this.