Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Viewsource in _webview.vcx
Message
From
13/04/2003 19:23:03
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00776999
Message ID:
00777055
Views:
13
Hi Sergey,

No wonder I couldn't find the frame.
I expected Frames to be a collection of oWeb, not oWeb.Document
Just so I'm on the same page, the full text of a document in a frame is:
Thisform.oWeb.Document.Frames(0).Document.documentElement.outerHTML
Thanks alot.
oDoc = Thisform.oWeb.Document
>? oDoc.Frames.length    && Returns # of frames in collection
>oFrame = oDoc.Frame(0)    && collection is 0-based
>lcFrameHtml = oFrame.Document.documentElement.outerHTML
>
You can iterate through frame collection to get html for all of them or pick one you need.
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform