Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading ASP data from a web page to VFP
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00417294
Message ID:
00417313
Views:
19
Hello Stan,
Here is some code that demonstrates frames in the UT accessed using IE5:
CLEAR
CLEAR ALL
SET MEMOWIDTH TO 999
PUBLIC oIE
oIE = CREATEOBJECT( "InternetExplorer.Application" )
oIE.Visible = .T.
oIE.Navigate( "http://www.levelextreme.com" )

? "Log into the universal thread and make sure there is "
? "plenty of text in all areas of the browser and then RESUME."
SUSPEND

? 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
RETURN .T.
Hope this helps,
Regards,
Houston.

>I would love to post the URL but the web site contains confidential patient information and is password protected.
>
>If ASP returns HTML to the client, why isn't the InnerText property returning any of the text displayed?
>
>Thanks!
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform