Article View: borland.public.cppbuilder.internet.web
Article #177Re: Extracting all the HTMLElements from IHTMLDocument2
From: vanmmd
Date: Fri, 28 Sep 2007 15:49
Date: Fri, 28 Sep 2007 15:49
20 lines
2233 bytes
2233 bytes
Hi gurus, Still fighting with the code but my preliminary conclusion is: 1> The prev guy made a wrong assumption that we can extract a link from *any* frame: thisframe=GetFrame(Browser, WWWCurrentFrame); .......... WWWCurrentLinkp=GetLink(thisframe, WWWCurrentLink); 2> For many times, he counts the number of frames and then grab the links when the page has not been fully loaded yet. Btw, is there any way/code to check if the page has been fully loaded/ stable? And if there is a script that contantly updates the webpage, what is the trick to force the application/web_browse to reload the webpage and recheck. I've found a relevant post: "How to get the "real live" HTML source" and try to distill the right solution. If there anyone who encountered the similar experience, please share with me. Thanks,
Technical Details
Message-ID:
<1190994555.732946.138220@y42g2000hsy.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mailReferences:
<46c061ea$1@newsgroups.borland.com> <46c09536@newsgroups.borland.com> <46f7e838$1@newsgroups.borland.com> <46f7f81a@newsgroups.borland.com> <1190978874.563094.112220@k79g2000hse.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,26c174002c4041d7 X-Google-Attributes: gidfeeec,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail From: vanmmd <suskovivor@yahoo.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: Extracting all the HTMLElements from IHTMLDocument2 Date: Fri, 28 Sep 2007 08:49:15 -0700 Organization: http://groups.google.com Lines: 23 Message-ID: <1190994555.732946.138220@y42g2000hsy.googlegroups.com> References: <46c061ea$1@newsgroups.borland.com> <46c09536@newsgroups.borland.com> <46f7e838$1@newsgroups.borland.com> <46f7f81a@newsgroups.borland.com> <1190978874.563094.112220@k79g2000hse.googlegroups.com> NNTP-Posting-Host: 130.226.188.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1190994555 4682 127.0.0.1 (28 Sep 2007 15:49:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 28 Sep 2007 15:49:15 +0000 (UTC) In-Reply-To: <1190978874.563094.112220@k79g2000hse.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=130.226.188.2; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0