Article View: borland.public.cppbuilder.internet.web
Article #1630Re: TCppWebBrowser and Framed HTML Pages
From: Saulo I. Regis
Date: Fri, 05 Nov 2004 04:24
Date: Fri, 05 Nov 2004 04:24
49 lines
3186 bytes
3186 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escreveu na mensagem news:418afc51$1@newsgroups.borland.com... > Please show your actual code for accessing that frame. As here it's 2:30 a.m. and I had already turned off my dev computer I'll try to give you a quick answer now and a more complete today!! morning. The code is the same supplied by you in this thread. All frames are being retrieved in the same loop with the same code. One thing is that the "main" frame content has 127.79 kb! Is somewhat big because is a Table with over 3,000 lines! > > 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 read a post of june/2004 where you say the IE has some kind of security problems with CSS links but no specific directions were given in that thread! > 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. Yes. That is my preferred way because I don't want to retransmit content that the IE already received and is already inside the data area of the object! The first thing I'll do after wakening up 8-) ... is to check the HRESULT return codes and post the results here along with the actual code I'm using to retrieve the frames! Anyway I READ THE DOCS :) and I was able to retrieve the URL of each frame so I'm confident that at least the Indy way is at reach as a last resource! I tried to use the toString( ) method of IHTMLDocument but it only retrieves "[Object]" literal. Have nice dreams everybody :) Nite! Saulo
Technical Details
Message-ID:
<418b0518@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!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> <418afc51$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> <418972c3$1@newsgroups.borland.com> <4189803d$1@newsgroups.borland.com> <418abe49@newsgroups.borland.com> <418afc51$1@newsgroups.borland.com> Subject: Re: TCppWebBrowser and Framed HTML Pages Date: Fri, 5 Nov 2004 02:24:32 -0200 Lines: 51 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: <418b0518@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099629848 200.215.24.7 (4 Nov 2004 20:44:08 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail