David, all was working well on my form with the IE activeX control and still does EXCEPT when the IE loads and the page displays, clicking EDIT or ADD or whatever on the website has no effect. Thepage runs normally outside of foxpro. Any ideas?
>Timothy,
>
>If the URL contains the text you want:
>
>
>* BeforeNavigate2
>LPARAMETERS pdisp, url, flags, targetframename, postdata, headers, cancel
>
>debugout url
>
>cancel = .t.
>
>
>If you want the clickable text itself you can scan the Links collection:
>
>
>oDoc = oIE.Document
>for each oLink in oDoc.Links
> debugout oLink.href, iif( ! lower( oLink.innerHTML ) $ lower( oLink.href ), oLink.innerHTML, "" )
>endfor
>
>
>>I'm trying to capture some hyperlinked text and return that text to VFP.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."