Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frames in web pages
Message
From
25/01/2001 09:57:46
 
 
To
25/01/2001 08:39:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00468387
Message ID:
00468430
Views:
22
Kevin,

>I am trying to extract info from a web-site and pull certain figures into VFP but they are held within a Frame.
>
>Is there anyway of accessing the frame somehow.

There is a frames collection specified in the Document Object Model (DOM), which is documented in the Web Workshop section of the MSDN Library, Platform SDK.

I don't have time to work it out for you right now, but play around with things like these:
document.frames(2)
document.frames("framename")
document.all.frames(1)
Each frame reference should then give access to its contents, but you will have to figure out the syntax for that, as the reference may point to a "window" or a "document", thus affecting the syntax needed to drill down deeper.

Maybe that will point you in the right direction.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform