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

Click here to load this message in the networking platform