Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet SaveAs function
Message
From
22/10/2002 02:06:30
 
 
To
21/10/2002 22:32:10
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00713746
Message ID:
00713766
Views:
34
Hi,

the ExecWB commands with the flag for DontPromptUser
don't work as you probably expect them to work from
reading the names. MS calls this behaviour "by design",
and tells us that IE is not designed for servertype
(automatic spidering for instance) solutions.

You can use UrlDownloadToFile, or QueryInterface
for IPersist* interfaces (I haven't tried it with the newer
VFP's, using Studio6 I build VB-components calling VFP-Com-exes)
and call the save method for file or stream. They are hosted
by the document and will give you unchanged content.

Getting the HTML directly via IHTML2-interface or .innertext
you run the chance of IE reformating the HTML.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform