Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

HTML + Console App

Posted on 2004-04-23
4
Medium Priority
?
329 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 330 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

783 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