>Now another problem.
>Thisform.oWeb.Document.documentElement.outerHTML is different from what I get when I do a rightmouseclick and View Source. The ...documentElement.outerHTML only has the frameset, but the View Source menu doesn't have anything about frames, so I'm guessing that ....outerHTML is not getting what's in the frame, and View Source is not getting the frame container.
>
>Can you point me to some documetation on the properties of oWeb.Document? Or just how can VFP 7.0 get at what's in the frame?
Hi Bill,
You can find
WebBrowser Control Reference at
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/browser_control_node_entry.asp.
The WebBrowser Control document object has Frames collection. You can use it to access frames.
oDoc = Thisform.oWeb.Document
? oDoc.Frames.length
oFrame = oDoc.Frame(0)
lcFrameHtml = oFrame.Document.documentElement.outerHTML
You can iterate through frame collection to get html for all of them or pick one you need.
--sb--