How to grab text from a webpage?

Posted on 2004-11-11
Medium Priority
Last Modified: 2010-04-05
Hi Wizzzardzzz!!

I want to grab some text from a webpage either loaded in TWebbrowser or  IE (I'm not aware of the advantages disadvantages). I should be able to select certain portions of text copy them and paste them into another webpage which is loaded in either TWebbrowser or IE.

Working sample equals all the points!

Tnx in advance guys youre more than worth the subscription!!!

Regards from Holland,

Question by:PeterdeB
  • 2
  • 2

Author Comment

ID: 12555490
Oh I forgot to mention something > when the text is grabbed off the webpage I'd preferrably drop it into a TMemo or something. ok?


Accepted Solution

Hypoviax earned 1000 total points
ID: 12559166
I answered a very similar question. It is complete with a working example. Basically you select some text (from a webpage or whereever) and press a hotkey (Insert for example). This text is then copied and pasted into a TMemo or whatever you want. In the example the text is copied back but if you don't want this feature just remove that portion of the code:


Best Regards,


Expert Comment

ID: 12570710
If you need help with it post here

Many Thanks,


Author Comment

ID: 12574587
Hi Hypoviax! Sorry for leaving no comment > I ran into some troubles getting online so I decided to do only what's necessary and therefore just accepted the answer without leaving a note.

I could use some help from you again, you know your way around with the stuff I'm trying to do at this moment but I'll post another question for it and reward it generously! Currently I'm working on several projects which all have somethiing to do with automatically logging into some website or automatically posting stuff there. But I'll post a question!

Regards and max respect to this forum and it's expertzz!!


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question