Solved

Retrieving Web Pages in Delphi7

Posted on 2004-10-04
2
528 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

792 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