Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fetching an XML file by using a aspx page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Fetching an XML file by using a aspx page
Divers
Thread ID:
01111310
Message ID:
01111310
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform