Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement