HTML + Console App

Hello,

How can I get the source code of a html page and WriteLn it in the console window?

Thx Karamja
LVL 2
-Karamja-Asked:
Who is Participating?
 
mokuleConnect With a Mentor Commented:
var
 tdu: TDownloadURL;
begin
  tdu := TDownloadURL.Create(Self);
  tdu.URL := 'YourURL';
  tdu.Filename := TMPFILENAME;
  tdu.Execute;
  tdu.Free;
0
 
DavidBirch2dotComCommented:
what needs to be added to the uses to get this code going ?
0
 
DavidBirch2dotComCommented:
URLMon ?
0
 
PeterDelphinCommented:
Vcl.ExtActns or ExtActns (depending from your Delphi version) needs to be added to the uses clause.
0
All Courses

From novice to tech pro — start learning today.