Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet SaveAs function
Message
De
22/10/2002 02:06:30
 
 
À
21/10/2002 22:32:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00713746
Message ID:
00713766
Vues:
35
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform