Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save to file the result of compound web page
Message
De
23/04/2007 11:34:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01216100
Message ID:
01218939
Vues:
17
Thanks Juri, will try it. (Sorry to delay answering).

Alex


>Hi, Alejandro!
>You can save it with this code:
>
>Clear
>Local loIE As InternetExplorer.Application
>loIE=Createobject('InternetExplorer.Application')
>loIE.Navigate('http://news.google.com/nwshp?hl=en&tab=wn&q=')
>Do While loIE.ReadyState !=4
>   DoEvents
>Enddo
>loDocument=loIE.Document
>loContent=loDocument.DocumentElement
>lcContent=loContent.outerHtml
>=Strtofile(lcContent,'c:\test_for_ut.htm',0)
>Release loIE
>
>wbr,
>Juri
>
>
>>How do you programmatically capture and save to a single file (mht) what would appear in the browser after calling a URL such as http://news.google.com/nwshp?hl=en&tab=wn&q= ?
>>
>>TIA,
>>
>>Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform