Article View: borland.public.cppbuilder.internet.web
Article #1629Re: TCppWebBrowser and Framed HTML Pages
From: Remy Lebeau (TeamB)
Date: Fri, 05 Nov 2004 04:07
Date: Fri, 05 Nov 2004 04:07
33 lines
2135 bytes
2135 bytes
"Saulo I. Regis" <saulo@password.info> wrote in message news:418abe49@newsgroups.borland.com... > All frames are being retrieved BUT it fails to retrieve > the current HTML code of the "main" frame! Please show your actual code for accessing that frame. > May be it has to do with its content and how to deal with it? The HTML content does not effect IPersistStreamInit's ability to save the HTML. It is treated as raw data, and saved as-is. > I wonder if the existence of FLASH MOVIES would affect > the way I need to retrieve this HTML code using the OLE interfaces. No, it does not. > As I cannot predict the kind of web sites (and theirs contents) that will be > navigated and retrieved, may be it'll be better to just retrieve the URLs of > each frame content and use INDY to GET it? You could start by testing why the current code is failing to begin with. All interface methods return an HRESULT that contain an error code if something goes wrong. Your first step should be to track down which specific line is failing, and then checking to see which error code it is returning. Gambit
Technical Details
Message-ID:
<418afc51$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<418954e8@newsgroups.borland.com> <41896e7a$1@newsgroups.borland.com> <418972c3$1@newsgroups.borland.com> <4189803d$1@newsgroups.borland.com> <418abe49@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 From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <418954e8@newsgroups.borland.com> <41896e7a$1@newsgroups.borland.com> <418972c3$1@newsgroups.borland.com> <4189803d$1@newsgroups.borland.com> <418abe49@newsgroups.borland.com> Subject: Re: TCppWebBrowser and Framed HTML Pages Date: Thu, 4 Nov 2004 20:07:56 -0800 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <418afc51$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099627601 68.69.17.41 (4 Nov 2004 20:06:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail