Hi Dragan,
>>Normally I just set the innerhtml property of the document's body
>>object directly like this:
THISFORM.ieBrowser.Document.body.innerhtml=tcBodyText
>>This way I don't have to even create a file!
>The second file really vanishes - still it's the first file, where
>you send the original report.
Yes it does!
To save the file you're viewing, you need to save its body object's innerHTML property like this:
WITH this.Parent.iebrowser
=STRTOFILE(.document.body.innerHTML,GETFILE('HTM'))
ENDWITH
Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!
Support the product. Buy the latest version!
Hugh Winters @ WorldData 408-512-1131