Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Get Source Code From HTML Document ?
Message
 
 
To
17/02/2004 12:45:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00878010
Message ID:
00878031
Views:
22
This message has been marked as the solution to the initial question of the thread.
>I have created an Internet.Application object and I want to get source of active page. How can I do that?

Try
oWeb = CREATEOBJECT("InternetExplorer.Application")
oWeb.Visible = .T.
oWeb.Navigate2("http://www.microsoft.com")
oDoc = oWeb.Document
_CLIPTEXT = oDoc.documentElement.outerHTML
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform