>>Hi all,
>>
>>I have an instance of the Web Browser control on a VFP 7 form. I've successfully navigated to the desired URL.
>>
>>How do I now gain access, programmatically, to the HTML code for that URL? I need to parse the HTML for a particular tag, and would like to use the new STREXTRACT function of VFP 7 to search for the value associated with the tag.
>>
>>TIA,
>
>
Thisform.WebControl1.document.documentElement.innerHTML
>HTH
Hi J,
That gives me a "Member DOCUMENT does not evaluate to an object" error...then the page finishes loading...THEN it works perfectly (right now, I'm saving it to a text file with STRTOFILE() just so I can see it).
Do I possibly need to wait for the page to finish loading before I fire this code? Is there some type of a property of the Browser control which I can monitor that tells me when the page is finished?
Appreciate all your (quick) help...
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN
If a vegetarian eats vegetables, what does a humanitarian eat?