🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.com.activex.using
Article #4

Re: TWebBrowser.OnDocumentComplete and IE7.

#4
From: Andrew
Date: Mon, 18 Jun 2007 06:12
23 lines
2122 bytes
BlueGI wrote:
> "Andrew" <agz@pisem.net> wrote in message 
> news:4672adfe@newsgroups.borland.com...
>> Sometimes user initiates navigation by clicking a link on a web page.
> 
> You can reset them on the OnBeforeNavigate2 event
> 
>> Yes, I've seen this solution on some MS forum for VB-developers, but it 
>> does not work with IE7 too.
>> This way is not acceptable for me because it crashes the application when 
>> user is trying to close it while this loop is running.
> 
> I've written dozen of apps using this technique, and it works just fine on 
> IE7.  There are obvious tweaks that could/should be made specific to your 
> needs, but it's just a stepping stone to avoid depending on the flags and 
> inconsistencies and other errors that pop up with TWebBrowser.
> 
> Blue 
> 
> 
I've tried this way with IE7 again. It works with some pages and fails with another.
This page does NOT work: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=300118400712
It never reaches that "page complete" condition.
Technical Details
Message-ID: <4676225b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46728482$1@newsgroups.borland.com> <4672a133@newsgroups.borland.com> <4672adfe@newsgroups.borland.com> <4672ce0d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 123df9,dd03bc9f93180571
X-Google-Attributes: gid123df9,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 18 Jun 2007 09:12:46 +0300
From: Andrew <agz@pisem.net>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.com.activex.using
Subject: Re: TWebBrowser.OnDocumentComplete and IE7.
References: <46728482$1@newsgroups.borland.com> <4672a133@newsgroups.borland.com> <4672adfe@newsgroups.borland.com> <4672ce0d$1@newsgroups.borland.com>
In-Reply-To: <4672ce0d$1@newsgroups.borland.com>
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 91.124.18.86
Message-ID: <4676225b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182147163 91.124.18.86 (17 Jun 2007 23:12:43 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1975