| View previous topic :: View next topic |
| Author |
Message |
Elisabeth Kvarnryd Guest
|
Posted: Tue Feb 27, 2007 4:45 pm Post subject: Is it possible to manipulate the TCppWebBrowser data |
|
|
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
|
Posted: Tue Feb 27, 2007 4:54 pm Post subject: Re: Is it possible to manipulate the TCppWebBrowser data |
|
|
"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
|
Posted: Tue Feb 27, 2007 6:02 pm Post subject: Re: Is it possible to manipulate the TCppWebBrowser data |
|
|
| 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
|
Posted: Wed Feb 28, 2007 12:05 am Post subject: Re: Is it possible to manipulate the TCppWebBrowser data |
|
|
"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 |
|
 |
|