1. Computing
Send to a Friend via Email

Build Network / Internet / Intranet / Distributed Delphi Applications

Delphi Network / Internet programming knowledge base. If you need help on ActiveX, ASP, XML, CGI, WWW, HTML, FTP, TCP, Sockets ... this is the place with answers!
  1. Indy (12)
  2. IntraWeb (4)
  3. Developing Web Services (11)
  4. WebSnap / Web Broker (14)
  5. CORBA / MIDAS (1)
  6. Networking (8)

Extract Links From a HTML Page Using Delphi
Here's how to extract all hyperlinks from an HTML document. The ExtractLinks procedure fills a TStrings object with the value of the HREF attribute of the A HTML element.

Create an Internet Shortcut (.URL) file using Delphi
Unlike regular .LNK shortcuts (that point to a document or an application), Internet Shortcuts point to an URL (web document). Here's how to create an .URL file, Internet Shortcut, using Delphi.

Programmatically Download Web Documents from the Interent
Learn how to programmatically download a web document from the Internet using Delphi and WinInet API.

Displaying XML (RSS Feed) Data in a TreeView Delphi control
RSS feeds are XML formated documents used to present digital content. RSS typically list items, such as articles or blogs posts. Here's how to create a simple RSS feed reader by transforming the XML into a tree view. Learn how to attach data to a tree item. Full Delphi source code ahead.

How to Enumerate Web Browser Windows and Retrieve Document Info (Url, Htm, Node)
A sample Delphi project to get the list of all opened Web Browser instances. Find out how to extract the URL, document HTML, document text and all the tags with their attributes. Full source code included.

Reading and Manipulating XML files (RSS feeds) with Delphi
Learn how to read and manipulate XML documents with Delphi using the TXMLDocument component. Let's see how to extract the most current "In The Spotlight" blog entries from the About Delphi Programming (this site).

Web scripting with Delphi
A look at server-side scripting solutions based on Delphi language.

Tips and code samples
Need to connect to the Internet, get your IP, download a file with progress indicator, enumerate network resources ....

How to save a web page as HTML or MHT
Here's how to save a web page displayed inside a WebBrowser (TWebBrowser component) as a raw HTML file or into a single (MHT) file (MHTML format: web archive - single file).

Sending email messages
Learn how to send email messages with attachments using Indy and Delphi. Full source code to a simple "SMTP Mail Sender" application included.

About XML and Delphi
Everything you need to know about Delphi and the Extensible Markup Language. Find out about creating and parsing XML documents, look for parser components and more.

Web Site inside a Delphi EXE
How to store Web-style content inside a Delphi application (as a resource)

WebBrowser to the Max
Some nifty TWebBroswer related tips and tricks: How to save a web page as a single file, How to load HTML directly to a WebBrowser, How to print a document/page in a TWebBrowser, How to call the Find dialog in WebBrowser, etc, ...

My IP with Delphi
How to obtain a computer's IP address by using the Socket API and Delphi's Pascal.

Get current URL from IE
Here's how to retrieve the full URL of all opened Internet Explorer instances.

Get File From the Net
Create a Delphi application that downloads files from the Internet; add an auto-update feature to your programs

Implementing PING without using raw sockets
Implementing Internet pings using Delphi and the Icmp.dll.

Reading and manipulating XML files (RSS feeds) with Delphi
Learn how to read and manipulate XML documents with Delphi using the TXMLDocument component. Let's see how to extract the most current "In The Spotlight" blog entries from the About Delphi Programming (this site).

Restrict Internet access
Here's how to close an instance of Internet Explorer, if you find the current URL "inappropriate" (after retrieving the full URL of all opened Internet Explorer windows) - using only Delphi code!

Building Internet-Enabled Applications with Delphi
"Its ability to create real DLLs and its Internet controls and tools make Delphi a great choice for developing both client and server applications."

©2014 About.com. All rights reserved.