Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading ASP data from a web page to VFP
Message
De
10/10/2000 10:56:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Reading ASP data from a web page to VFP
Divers
Thread ID:
00427292
Message ID:
00427292
Vues:
88
Greetings to all,

I read Erik Moore's article in the June 2000 "FoxPro Advisor" magazine and tried to retrieve data from the web site www.unos.org using the following code provided in that article:

CREATE CURSOR pagecatalog (ItemIndex i, InnerText M, InnerHTML M)
FOR i = 0 TO oie.DOCUMENT.body.ALL.LENGTH -1
m.ItemIndex = i
m.InnerText = oie.DOCUMENT.body.ALL(i).InnerText
m.InnerHTML = oie.DOCUMENT.body.ALL(i).InnerHTML
INSERT INTO pagecatalog FROM MEMVAR
ENDFOR

None of the data in the frames was retrieved! I was given the following code previously get at the frames directly to try this code:

? oIE.Document.Frames(1).Document.Body.innerText
? oIE.Document.Frames(2).Document.Body.innerText
? oIE.Document.Frames(3).Document.Body.innerText
? oIE.Document.Frames(4).Document.Body.innerText

and nothing printed out to the VFP screen. It works well on other pages but not the one in question.

I am a new VFP developer and I would greatly apprecieate a place to start with solving this problem.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform