Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need miracle!
Message
 
To
19/09/2002 17:30:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00701415
Message ID:
00702868
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform