🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1622

Re: TCppWebBrowser and Framed HTML Pages

#1622
From: Saulo I. Regis
Date: Thu, 04 Nov 2004 00:03
15 lines
1561 bytes
> That is because you are querying the HTML from the wrong Document object.
> You are not taking frames into account at all.  IHTMLDocument2 has a
frames
> collection in it.  You are supposed to use that collection to get the
> IHTMLWindow2 interface for the desired frame, and then you can get the
> frame's IHTMLDocument2 interface from that.  Then you can get the HTML
that
> you are interested in from that.

Hi Remy,

Could you give me a small sample code of how I access the frames collection,
scan it and retrieve the HTML code of each frame?

Saulo
Technical Details
Message-ID: <418972c3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <418954e8@newsgroups.borland.com> <41896e7a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2f5b16c00db0b7f3
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Saulo I. Regis" <saulo@password.info>
From: "Saulo I. Regis" <saulo@password.info>
Newsgroups: borland.public.cppbuilder.internet.web
References: <418954e8@newsgroups.borland.com> <41896e7a$1@newsgroups.borland.com>
Subject: Re: TCppWebBrowser and Framed HTML Pages
Date: Wed, 3 Nov 2004 22:03:50 -0200
Lines: 17
Organization: Password Informatica Ltda
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 200.215.24.7
Message-ID: <418972c3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099526851 200.215.24.7 (3 Nov 2004 16:07:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail