Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Html
Message
From
12/04/2002 12:57:40
 
 
To
12/04/2002 12:18:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00644384
Message ID:
00644414
Views:
8
>Anyone know a quick and dirty way to the source of a web page to a local file?
>
>Thanks
>
>TomW

Assuming you have the page open on the web browser control, you can do:
StrToFile(Thisform.Web1.document.body.innerHTML, "c:\mydir\myfile.html")
Although you could probably use wwIPStuff functions from www.west-wind.com for a "lighter" approach if this is all you need.
Previous
Reply
Map
View

Click here to load this message in the networking platform