Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the source (Html) using _WebView.VCX
Message
 
 
À
04/06/2003 09:57:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00796158
Message ID:
00796180
Vues:
12
Dany,

The webbrowser isn't going to actually display raw text, but you can display it in an editbox.
LOCAL oie as internetexplorer.application
oIE = createobject( "internetexplorer.application" )
oIE.Visible = .t.
oIE.Navigate( "www.microsoft.com" )
DO WHILE oie.Busy()
   doevents
ENDDO
oDoc = oIE.Document

edtShowText.Value = oDoc.documentElement.innerText
edtShowSource.Value = oDoc.documentElement.innerHTML
>I am using _WebView.Vcx to navigate. But I need to have the source (html) of a page presented on _WebView ole window, because I need to obtain a value from inside the source. How could I do that ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform