main logo
Subject: RE: Easy HTML to text function?
Author: "allen"
Posted: 2003/02/28 18:44:00
 
View Entire Thread
New Search


Try looking at the readystate property of ieobj. should give a 4 when loaded

maybe

do while ieobj.readystate <> 4
doevents
enddo

you might also want to check for the escape key as well

so

isok = .T.
on escape isok = .F.
do while ieobj.readystate <> 4 and isok
doevents
enddo
on escape

Allen

-----Original Message-----
From: profox-admin (AT) leafe .DO.T com [mailto:profox-admin@leafe.com]On Behalf Of
Reynolds, Michael

I think I found the trouble. The variable being set to the document
contents is attempting to get set before IE retrieves the web page. If done
line-by-line, and waiting for the page to display, then you can set the
InnerText.

Is there a way to sense whether IE has retrieved the entire page?




 
©2003 allen
<-- Prior Message New Search Next Message -->