Solved

Retrieving Web Pages in Delphi7

Posted on 2004-10-04
2
526 Views
Last Modified: 2010-04-04
I use TnmHTTP component in Delphi6 for retriving pages from www.
How I can do it in Delphi7 ?
It seems there is no TnmHTTP and other FastNet components in Delphi7.
0
Comment
Question by:Subbotin
  • 2
2 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12224199
but there is Indy. It has excellent component TidHTTP. You can use it.
0
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 200 total points
ID: 12224211
uses idHTTP;

procedure TForm1.Button1Click(Sender: TObject);
var
  tmp_idHTTP    : TidHTTP;
begin
  tmp_idHTTP := TidHTTP.Create(Self);
  try
    tmp_idHTTP.Get('http://www.google.com');
    ShowMessage(tmp_idHTTP.ResponseText);
  finally
    tmp_idHTTP.Free;
  end;
end;
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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

948 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

20 Experts available now in Live!

Get 1:1 Help Now