Solved

HTML + Console App

Posted on 2004-04-23
4
315 Views
Last Modified: 2013-04-12
Hello,

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

Thx Karamja
0
Comment
Question by:-Karamja-
[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
4 Comments
 
LVL 17

Accepted Solution

by:
mokule earned 110 total points
ID: 10901470
var
 tdu: TDownloadURL;
begin
  tdu := TDownloadURL.Create(Self);
  tdu.URL := 'YourURL';
  tdu.Filename := TMPFILENAME;
  tdu.Execute;
  tdu.Free;
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 13295356
what needs to be added to the uses to get this code going ?
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 13295502
URLMon ?
0
 

Expert Comment

by:PeterDelphin
ID: 39074247
Vcl.ExtActns or ExtActns (depending from your Delphi version) needs to be added to the uses clause.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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