Solved

Delphi extracting data from web

Posted on 2000-03-23
6
157 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Accepted Solution

by:
cAkk earned 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Newbie Thread Programming 1 139
Simple Delphi Question 9 83
Delphi Firemonkey Need Sample for Online Shopping Example. 2 120
Create a path if not exists 7 69
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now