Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Viewsource in _webview.vcx
Message
From
13/04/2003 00:30:11
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00776999
Message ID:
00777003
Views:
11
>>I'm just starting to use _webbrowser in _webview.vcx.
>>
>>I'm trying to read the source of the page in the browser.
>>I can right mouse click in the browser and select "View Source", but I cannot figure out how to do it programmically. I can't get Keyboard to work, viewsource() returns "HTML source not available" (probably because it's a cgi file), and getsourcehtml() returns "".
>>
>>TIA
>
>Hi Bill,
>
>I don't now about _webbrowser class methods and properties, but you can get source HTML of page directly from Webbrowser control that this class uses.
lcHTML = Thisform.oWeb.Document.documentElement.outerHTML
Hi Sergey,

You lost me. I can't figure out what you're talking about. What form are you talking about?
I can find no mention of oWeb or Document anywhere.
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform