Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Viewsource in _webview.vcx
Message
De
13/04/2003 00:30:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00776999
Message ID:
00777003
Vues:
12
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform