Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the source (Html) using _WebView.VCX
Message
 
 
To
04/06/2003 09:57:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00796158
Message ID:
00796180
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform