Solved

Retrieving Web Pages in Delphi7

Posted on 2004-10-04
2
531 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 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