Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save to file the result of compound web page
Message
From
23/04/2007 11:34:22
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01216100
Message ID:
01218939
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform