Solved

HTML + Console App

Posted on 2004-04-23
4
313 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-
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 78
drawing animated level bar based on numbers 3 111
Drag & Drop... Data from one grid to another 2 47
Typecasting TBytes to Integer in Delphi XE8 2 35
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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