🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Getting TCppWebBrowser as Text From Stream

#755
From: caleb
Date: Thu, 09 Mar 2006 13:28
30 lines
1887 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"caleb" <no@spam.com> wrote in message
>news:440f9e16$1@newsgroups.borland.com...
>
>> Can someone post code for getting the source of a
>> TCppWebBrowser doc?
>
>Such code has been posted many times before.  Please go to
>http://www.deja.com and search through the newsgroup archives.
>
>> I have been using this code to get text from stream but it
>> does not always work (on complex pages it only gets part
>> of the html):
>
>When exactly are you calling that code?  Did you verify that the entire
>document is actually available yet?

Yes it is available.  Additional information has been found.

As I stated existing deja code was saving to file as always, 
I can view the file in notepad and it is as expected.

But when I LoadFromFile the saved file into a TStringList and 
look at the TStringList->Text the page source is again 
truncated.

It is not a memory issue.  I am not familiar with AnsisString
to know why it truncates the page.
Technical Details
Message-ID: <44103b71$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <440f9e16$1@newsgroups.borland.com> <440fe89f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,274260257bdc682e
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "caleb" <nos@pam.com>
Sender: "caleb" <nos@pam.com>
Reply-To: "caleb" <nos@pam.com>
Subject: Re: Getting TCppWebBrowser as Text From Stream
Newsgroups: borland.public.cppbuilder.internet.web
X-User-Info: 71.99.27.59     
References: <440f9e16$1@newsgroups.borland.com> <440fe89f$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44103b71$1@newsgroups.borland.com>
Date: 9 Mar 2006 06:28:01 -0700
X-Trace: newsgroups.borland.com 1141914481 207.105.83.66 (9 Mar 2006 06:28:01 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail