Jump to content

get text from a webpage

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
sunion

sunion

    Newbie

  • Members
  • Pip
  • 1 posts
I got c++ builder 2009, and what I want to do is that the program puts the text from a website into a variable.
I use the Twebbrowser component from c++ builder, and I coded it so it displays the website that I entered

But I want it to read the text and put it in a variable.
So in this case I have a .txt file on web server and I need to put the text in the variable.

To change the URL, I used:
WebBrowser1->Navigate("WEBSITE HERE);
This will only show the .txt file in the browser component
But I cant find anything to retrieve the text and save it into a variable.

I rly sUxXoR.

I hope I am clear, and someone can help me?

-ty

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,714 posts
Could you post your code? (Please use CODE tags, by the way. Highlight your code and click on the # button.)