?
Solved

HTML + Console App

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

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Watch the video to know the process of migration of Exchange or Office 365 mailboxes in absence of MS Outlook. It is an eminent tool which can easily migrate Public, Archive user mailboxes from one another Exchange server and Office 365. Kernel Migr…

584 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