Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Viewsource in _webview.vcx
Message
 
 
To
12/04/2003 23:04:17
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00776999
Message ID:
00777000
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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform