Re: Internet Explorer object...
From: Larry Serflaten (serflaten_at_usinternet.com)
Date: 11/25/04
- Next message: Bob Hollness: "Re: Avoiding duplicate lines?"
- Previous message: Bob Hollness: "Re: Avoiding dupes when merging files"
- In reply to: JS: "Re: Internet Explorer object..."
- Next in thread: JS: "Re: Internet Explorer object..."
- Reply: JS: "Re: Internet Explorer object..."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Nov 2004 13:38:50 -0600
"JS" <not@home.net> wrote
> On my first try (all on same thread) when I did (pseudocode follows):
>
> wb.Navigate
> Do while DocCompleteCount < X
> Loop
>
> The Navigate got executed but never returned, the loop locked up the
> application never finishing the Navigate.
Did you try counting the DocumentComplete events from within the
DocumentComplete event? When you get to X number of events,
abort (Stop) the page and call a sub that has the code you need
executed.
Also I saw no mention of using DoEvents to let the WB process
its own events on your thread, but counting in the DocumentComplete
event itself would force you to remove the loop and let that sub end,
so DoEvents should not be needed (here).
LFS
- Next message: Bob Hollness: "Re: Avoiding duplicate lines?"
- Previous message: Bob Hollness: "Re: Avoiding dupes when merging files"
- In reply to: JS: "Re: Internet Explorer object..."
- Next in thread: JS: "Re: Internet Explorer object..."
- Reply: JS: "Re: Internet Explorer object..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|