Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fetching an XML file by using a aspx page
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Fetching an XML file by using a aspx page
Miscellaneous
Thread ID:
01111310
Message ID:
01111310
Views:
54
I want to fetch the result of a webpage (XML) and process it in VFP. I have therefor done the following:
oIE = CREATEOBJECT("InternetExplorer.Application")
oIE.Navigate("http://www.whereever.intra/datamanagement/tblMSDSXML.aspx")

INKEY(1)
nStartSeconds = SECONDS()
DO WHILE oIE.Document.ReadyState <> "complete" AND (SECONDS()-nStartSeconds < 30)
ENDDO

IF oIE.Document.ReadyState <> "complete"
	MESSAGEBOX("Page was not retrieved")
	oie.Visible = .T.
	RETURN .F.
ELSE
	SET STEP ON 	
	oie.Visible = .T.
	* and now what? How can I read what the browser is now showing
ENDIF
This routine works nicely but how can I now retrieve what the browser is showing me? I'm interested in the content of the browser as it is shown now.

Thanks in advance,

Ron Brahma
Next
Reply
Map
View

Click here to load this message in the networking platform