?
Solved

Delphi extracting data from web

Posted on 2000-03-23
6
Medium Priority
?
182 Views
Last Modified: 2010-04-04
Hi all,
Is it possible to open a web page (in background) and get data from it, and how?
0
Comment
Question by:Gurkan
6 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 2648197
Sure, download the HttpCli component from:

http://www.rtfm.be/fpiette/httpcliuk.htm

It has good examples. However you have to parse the returned html code yourself.
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2648204
The httptst demo shows perfectly how you can get webpages.
0
 
LVL 1

Expert Comment

by:XAN
ID: 2648250
yes, it is possible. you can find excelent example on http://www.euromind.com/ieDelphi (UILess)

With the best regards,
XAN
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Accepted Solution

by:
cAkk earned 200 total points
ID: 2651902
just drag a TNMhttp component to your form, and add following code:

var
  txt:string;
begin
  nmhttp1.get('http://www.xxx.com');
  txt:=nmhttp1.body;
end;
0
 

Author Comment

by:Gurkan
ID: 2654892
Thx 4 all, but I have no time 2 make a parser, do u know free parsers.
0
 

Author Comment

by:Gurkan
ID: 2680063
Since my knowledge in this subject is very little, the best answer is the one with least code. Points go to cAkk.

cAkk pose ur comment as answer n I'll accept.
0

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

850 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