Thanks Tracy. I think both removing my "object" reference, and testing
the BODY for being an object may be of help. Thanks for the input and
validation that I'm on the right track.
Mike
-------- Original Message --------
Subject: Re: VFP searching a web form
From: Tracy Pearson <[email protected]>
To: [email protected]
Date: 11/15/2012 1:23 PM
Mike Copeland wrote on 2012-11-15:
I've got a nagging problem that I've beat my head against for
years...maybe the collective brain of ProFox will provide the a clue to
a solution.
I have a form that contains an instance of the IE OLE Control
(_webbrowser4 from the _webview.vcx library). Nothing odd, just a simple
form and a "Shell.Explorer.2" OleClass on it, named "web".
Mike,
You have this:
DO WHILE (Thisform.web.OBJECT.Busy OR Thisform.web.OBJECT.ReadyState <>
4) AND (SECONDS() - lnSeconds) < 30
DOEVENTS
ENDDO
This is how I prevented it:
DO WHILE THISFORM.oIE.Busy OR TYPE("THISFORM.oIE.Document.Body") <> "O"
DOEVENTS
=INKEY(.1)
ENDDO
Tracy Pearson
PowerChurch Software
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.