BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is it possible to manipulate the TCppWebBrowser data

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
Elisabeth Kvarnryd
Guest





PostPosted: Tue Feb 27, 2007 4:45 pm    Post subject: Is it possible to manipulate the TCppWebBrowser data Reply with quote



Hello

Is it possible to maniplulate the incoming data with the TCppWebBrowser?
I only wan't use part of the webpage, so I contructed the following code:

for (int f = 63; f < Memo1->Lines->Count - 34; f++)
Memo2->Lines->Add(Memo1->Lines->Strings[f]);

Now it transfers the source code from one memo box to the other, but is it
possible to do this when the page loads without using the boxes?
I could do it this way, but since some of the links on the webpage are: "<a
href="page2.htm">, this will create an error404 when I click on them.

I hope someone can help me.

/Elisabeth

--------------------------------------------------------------------------------
Jag använder en gratisversion av SPAMfighter för privata användare.
232 spam har blivit blockerade hittills.
Betalande användare har inte detta meddelande i sin e-post.
Hämta gratis SPAMfighter idag!
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Feb 27, 2007 4:54 pm    Post subject: Re: Is it possible to manipulate the TCppWebBrowser data Reply with quote



"Elisabeth Kvarnryd" <jesper (AT) jptorrent (DOT) com> wrote in message
news:45e40ba5$1 (AT) newsgroups (DOT) borland.com...

Quote:
Is it possible to maniplulate the incoming data with the
TCppWebBrowser?


No. You would have to download the data separately and then
manipulate it directly before loading it into the TCppWebBrowser
afterwards.


Gambit
Back to top
Elisabeth Kvarnryd
Guest





PostPosted: Tue Feb 27, 2007 6:02 pm    Post subject: Re: Is it possible to manipulate the TCppWebBrowser data Reply with quote



Quote:
No. You would have to download the data separately and then
manipulate it directly before loading it into the TCppWebBrowser
afterwards.

Ok, but if I do that some of he links will be broken? Is there a smart way
to fix it or do I just have to create a parser and extract the important
parts?

/E

--------------------------------------------------------------------------------
Jag använder en gratisversion av SPAMfighter för privata användare.
232 spam har blivit blockerade hittills.
Betalande användare har inte detta meddelande i sin e-post.
Hämta gratis SPAMfighter idag!
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Feb 28, 2007 12:05 am    Post subject: Re: Is it possible to manipulate the TCppWebBrowser data Reply with quote

"Elisabeth Kvarnryd" <jesper (AT) jptorrent (DOT) com> wrote in message
news:45e41d8e$1 (AT) newsgroups (DOT) borland.com...

Quote:
do I just have to create a parser and extract the important parts?

Yes.


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.