1. Technology

2004. Delphi Programming by Zarko Gajic

Delphi Programming Almanac For the Year 2004

By

Delphi 2005: unofficial pre-release "review" - 08/31/2004
The largest step for Delphi is about to happen: Delphi 2005 (code named Diamondback) is the new version of your favorite development tool. Let's see what new features to expect.

VCL.NET vs. FCL - 08/24/2004
Fast Forward to Delphi for .Net - Part IV. Starting a new Windows application? Using Delphi for .NET? What framework to choose, should it be VCL.NET of FCL (or maybe both)? Many Delphi developers are in dilemma these days, what path is the right one? This article provides answers!

Web Forms navigation in ASP.NET - Part 2 - 08/17/2004
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 11. Setting up the startup Web Form page for an ASP.NET application under IIS, deciding which navigation technique to use in various scenarios.

Retrieving volume's (disk / drive) serial number - 08/10/2004
Here's a handy piece of Delphi code to read the serial number of a (disk) drive.

Listing Windows processes - 08/03/2004
Getting a list of Window processes and setting memory for return values using Delphi.

Web Forms navigation in ASP.NET - Part 1 - 07/31/2004
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 10. Exploring navigation techniques between Web Form pages: postbacks, direct navigation (using the <a> tag) and code-based navigation (using Server.Transfer and Response.Redirect).

Shortcut target finder - 07/27/2004
A sample Delphi application, with full source code, that can be used to locate all the shortcut files (.LNK) on a drive (directory) and find the target that is executed by a shortcut.

How to create an Internet Shortcut (.URL) file - 07/20/2004
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.

Hosts Editor - 07/13/2004
Free source rapid access "hosts" file editor - easily manage mappings of IP adresses to Host names or URL's.

Uploading files to a web server with ASP.Net - 07/06/2004
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 9. Let's enable uploading of binary files from a client browser to the web server in ASP.Net web applications. Delphi for .Net and ASP.NET provide an easy way to accept files from the client using HTMLInputFile ("HTML File Upload" HTML server control) and HTTPPostedFile classes. Learn how.

How to save a web page as HTML or MHT - 06/29/2004
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).

An introduction to server-side HTML controls and HTML tags in ASP.NET applications - 06/22/2004
A Beginner's Guide to Asp.Net Programming for Delphi developers: Chapter 8. Taking a look at the use of standard HTML tags and elements and the use of server-side HTML controls - from a perspective of a Delphi developer.

TColorButton - button with color properties - 06/11/2004
Full source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color, background color and mouse over color properties.

Web Forms - building blocks of an Asp.Net application (Part 2) - 06/08/2004
A Beginner's Guide to Asp.Net Programming for Delphi developers: Chapter 7. Introducing Web Form properties, methods and events. Taking a look at the IsPostback property and postback processing.

Should you call Free in the .Net Delphi world? - 06/01/2004
Fast Forward to Delphi for .Net - Part III. Garbage collector this, garbage collector that. Delphi developers are used to free their objects ... now the .Net GC takes care of freeing objects, the question is: when do you need/must free resources? Should you "Free" objects? Should you not? This article provides answers!

Implementing Dialog Boxes in Asp.net web applications - 05/25/2004
A Beginner's Guide to Asp.Net Programming for Delphi developers: Chapter 6. Producing a simple message box (like ShowMessage; or even an InputBox) in an asp.net application can be quite difficult - as you need to mess with DHTML, JavaScript and IE object model. It would be much better if we could write only one line of code (as in traditional desktop applications) to display a MessageBox ... let's see how.

TEffects - graphics effects in Delphi - 05/23/2004
Full source code of the TEffects Delphi component - intended for making effects in style of Corel Draw or Adobe Photoshop. It also allows to import (and export) any kind of information into (from) bitmap (cryptography).

TRichEditURL - hyperlink aware RichEdit - 05/18/2004
Full source code of the TRichEditURL Delphi component, an extension to the standard RichEdit component. The TRichEditURL automatically recognizes URLs. Whenever the text in a RichEditURL matches the format of a URL, the control will display it as a hyperlink - when the link is clicked an event is raised enabling you to, for example, open a browser or send an email. The TRichEditURL works correctly event when placed on a Panel or any other container control.

Web Forms - building blocks of an Asp.Net application (Part 1) - 05/11/2004
A Beginner's Guide to Asp.Net Programming for Delphi developers: Chapter 5. Examining Web Form Pages - the central elements of development in Asp.Net. Taking a look from a Delphi developer's perspective: What is a Web Form? How do I design a Web Form? What is the link between the aspx file and the code-behind file? ...

Adjusting DBGrid column widths automatically - 05/04/2004
Here's a handy method to automatically fix the size of TDBGrid columns (at run-time) to fit the DBGrid width (remove the unfilled space at the right edge of the grid; and consequently remove the horizontal scroll bar) when the user resizes the container containing the grid.

©2014 About.com. All rights reserved.