HowToDoThings.com
Register | Login
How To › Computers & Internet › Programming › Delphi

Delphi

Delphi may not be the most popular programming language out there, but we have a lot of great Delphi articles here for those diehard fanatics.

How To Learn About Dot Net Application

 
 
 
 
 
July 15, 2009
By Marc Alexander
Learn about Dot Net application which serves as a skeleton for program developers to use when creating programs for the Windows line of operating systems.

Extract HTML Meta Data with Perl

 
 
 
 
 
June 20, 2009
By Edward Gonsalves
Perl can be used to extract this information or HTML Meta data from a website by writing a little program to search and deliver a report showing the meta data details.

How To Make a Website from Scratch with HTML and CSS

 
 
 
 
 
June 10, 2009
By Contributing Writer
Making a website from scratch involves learning HTML (Hyper Text Markup Language) and how to apply CSS (Cascading Style Sheet), giving you full control over design and style.

How To Start Your Program Automatically (Using Delphi)

 
 
 
 
 
April 4, 2009
By ganun gsfd
This article will show how to modify the Windows registry to permit your program be automatically started on startup. Have care to change the registry because an incorrect alteration...

How To Write PHP Scripts

 
 
 
 
 
March 27, 2009
Zamrony P Juhara's picture
By Zamrony P Juhara
PHP is one of most widely used scripting languages. So how do you write PHP script?

How To Add Form Drop Shadow on Windows XP

 
 
 
 
 
March 27, 2009
Zamrony P Juhara's picture
By Zamrony P Juhara
This article explains how to manipulate form appearance on Windows XP by adding drop shadow effect. 

How To Install and Uninstall Font from Delphi Code

 
 
 
 
 
February 7, 2009
Zamrony P Juhara's picture
By Zamrony P Juhara
If you have new font and you need to make it available in every document processing softwares, you just need to copy font files into Windows font directory and you are done. Windows...

How To Turn On/Off Monitor with Delphi

 
 
 
 
 
January 24, 2009
Zamrony P Juhara's picture
By Zamrony P Juhara
Do you need to shutdown the monitor to conserve power during program execution? In this article I will explain how to manipulate monitor power through Delphi code.

How To Program a Delphi Console Mode

 
 
 
 
 
January 24, 2009
Zamrony P Juhara's picture
By Zamrony P Juhara
Developing console mode application with Delphi is so easy. Console mode application, or command line program, is an application that does not use Windows Graphical User Interface....

How To Capture Screen with Delphi

 
 
 
 
 
December 18, 2008
Zamrony P Juhara's picture
By Zamrony P Juhara
This short article will explain you how to capture screen content to a JPEG file from the Delphi program.

How To Program with Delphi

 
 
 
 
 
December 18, 2008
Zamrony P Juhara's picture
By Zamrony P Juhara
This article will explain to you how to get started with Delphi programming in a step-by-step tutorial. In this article, we will build a simple 'Hello world' application which...

How To Connect a Delphi Application to Access

 
 
 
 
 
October 21, 2008
By Moez Slimi
How to create a database application with Delphi and an ACCESS database.

Purchase order lines

 
 
 
 
 
August 23, 2005
By Peter Morris
When creating an association in ECO you are not guaranteed the order in which the objects at the end of the association will be presented.  For this reason ECO provides a...

Application.ProcessMessages replacement

 
 
 
 
 
August 15, 2005
Not only is Application.ProcessMessages quite long to type, often extra functionality needs to be called when its used.  To this end I have created two basic wrappers which...

How To Retrieve AutoInc Values with BDP in Delphi 2005

 
 
 
 
 
August 14, 2005
In this article I’ll use the term “Identity” interchangeably to note Auto generated (from RDMS) values usually for a column representing the primary key of a table. These...

Parameter exists

 
 
 
 
 
August 9, 2005
You will need the function in this article (http://www.howtodothings.com/ViewArticle.aspx?Article=760) to get this working properly function ParamExists(const ParamName: string):...

Get command line parameters

 
 
 
 
 
August 9, 2005
(* GetParameterValue GetParameterValue will return the value associated with a parameter name in the form of /paramname:paramvalue -paramname:paramvalue and /paramname -paramname ...

Get the size of a file

 
 
 
 
 
August 9, 2005
function GetFileSize(const FileName: string): Integer; var   sr: TSearchRec; begin   Result := 0;   if FindFirst(FileName, faAnyFile, sr) = 0 then   begin...

BaseForm class

 
 
 
 
 
August 9, 2005
Have you ever found yourself adding the same code to different forms?  Well now you can use the following as a base class for all forms. ===============   BEGIN...

MsgBox function

 
 
 
 
 
August 9, 2005
Personally I find both the WinAPI MessageBox and Application.MessageBox and MessageDlg functions cludgy and always add the following function to every app. function MsgBox(const...

Remove ReadOnly flag from file

 
 
 
 
 
August 9, 2005
The following function will attempt to remove the read only flag on a file, you will need the function in this article (http://www.howtodothings.com/ViewArticle.aspx?Article=755). ...

Detect if file is ReadOnly

 
 
 
 
 
August 9, 2005
The following function will return True if a file is read only. function IsReadOnly(const FileName: string): Boolean; var   sr: TSearchRec; begin   (* Assume not read...

How BoldTreeView works

 
 
 
 
 
August 3, 2005
By Peter Morris
This is just a quick set of instructions rather than a comprehensive article.  It is a copy of a posting I made in a Borland newsgroup... I'll give you an example of one...

Store and Retrieve a Bitmap in ECO

 
 
 
 
 
July 17, 2005
This article demonstrates the basics of how to store and retrieve a Bitmap in an ECO variable. First create an ECO variable in the class you wish to hold the bitmap, for example: ...

Two functions to evaluate OCL

 
 
 
 
 
June 27, 2005
With the help of Jonas Hogstrom and Jan Nordén I have written 2 functions to evaluate OCL.First is to evaluate OCL in EcoSpace:  public object EvaluateOclInEcoSpace(IElement...

Dynamic TableStyles Based on Object Type

 
 
 
 
 
April 21, 2005
Here is an example of using different TableStyles depending on the type of the currently selected object in a DataGrid. I have 2 grids, each hooked to ExpressionHandles. I...

Reading a tagged value

 
 
 
 
 
April 20, 2005
By Peter Morris
ECO allows you to add TaggedValues (name/value pair) to your model at design time.  Here is how to retrieve the value of a TaggedValue at runtime. obj.AsIObject() gives IObject...

ReEvaluate or ReSubscribe?

 
 
 
 
 
April 9, 2005
By Peter Morris
This article will explain derived members in ECO.  It's primary purpose is to describe the difference between the ReEvaluateSubscriber and ReSubscribeSubscriber parameters...

A Multi-Client-ECO application example.

 
 
 
 
 
April 9, 2005
The application we are going to build can be used for capturing worktime and breaks during the worktime. The worktime can be captured with multiple clients and the server application...

Turning on/off ECO logging

 
 
 
 
 
April 7, 2005
By Peter Morris
ECO II has a new feature in Update 2 which makes it easier to see what it is doing behind the scenes. When you run your app you can look in the messages window of the Delphi IDE...

Automatically setting the MaxLength in your GUI

 
 
 
 
 
March 15, 2005
By Peter Morris
As of D2005 udpate #2 there is a new helper class in the ECO framework named MaxLengthSupportFunctions. Normally when you databind an EditBox for example to an ECO object you...

Disabling multiplicity constraints

 
 
 
 
 
March 15, 2005
By Peter Morris
If you have ever tried reading constraints from an ECO model you have probably noticed by now that there are lots of auto-generated multiplicity constraints. I personally like...

Evaluating constraints

 
 
 
 
 
February 26, 2005
By Peter Morris
Before updating the database with changes to your objects it is wise to check that the object is in a valid state first.  ECO allows you to model constraints against your...

Sending HTML emails with ICS

 
 
 
 
 
February 10, 2005
procedure THtmlMailForm.SendButtonClick(Sender: TObject);begin if FRunning then begin MessageBeep(MB_OK); Display('**** ALREADY RUNNING ****'); Exit; end; FRunning := TRUE; try {...

Evaluating in-database OCL in code

 
 
 
 
 
February 10, 2005
By Peter Morris
In a form etc we can evaluate OCL in the DB by using an OclPSHandle, but how do you evaluate OCL in the DB in code? This tip thanks to Jan Norden from Borland. IOclService oclService...

Code derived associations

 
 
 
 
 
February 1, 2005
This article will demonstrate how to use code derived associations to implement user-defined class constraints. Code derived association is derived association without provided...

ECO2 Expression Handles and the ASP.NET Repeater Control

 
 
 
 
 
January 3, 2005
By Scott Price
How do we databind the information from the ExpressionHandle or other handle type into the ASP.NET Repeater control? Took a little double take viewing, but Pete Morris kindly...

D4: Making TCheckbox Data Aware with TDBEdit

 
 
 
 
 
January 3, 2005
Simple means of making some components data-aware. Alternative data-aware checkboxes (and radiobuttons) that can be arranged more flexibly. Although more recent versions of Delphi...

Composition is much better than inheritance

 
 
 
 
 
December 10, 2004
By Peter Morris
This article explains the pitfalls of inheritance, and offers a solution... In this article I will have to use some ficticious class names etc due to the sensitivity of the project...

Composition and recursive OCL

 
 
 
 
 
December 9, 2004
By Peter Morris
This article demonstrates a simple example of using recusive OCL within a composite pattern. "To understand recursion we must first understand recursion" [Source unknown] Surely...

Code Derived Columns in ECO II

 
 
 
 
 
December 3, 2004
By Peter Morris
Explains what Code Derived Columns are, and how to use them. The focus of this article will be "Event derived columns".  Jan Nordén (Borland) pointed me in...

Tidy Component Library for Easy Migrations or Builds

 
 
 
 
 
November 15, 2004
By Scott Price
Controlling your Library Path can be benefitial for a number of reasons, easy reading, sharing network components/libraries, or even for escrowing projects. There is a relatively...

Windows Search Engine

 
 
 
 
 
November 7, 2004
Implementing Shell Search Handler using Delphi The Shell supports several search utilities that allow users to locate namespace objects such as files or printers. You can create...

How To store the contents of a RichEdit in an EMF files

 
 
 
 
 
September 14, 2004
Howto store the contents of a RichEdit in an EMF files Sometimes, you may want to store the contents of a rich edit control in a metafile. This article outlines an approach that...

Changing Left and Right channel volumes separately:

 
 
 
 
 
August 23, 2004
This article describes a simple way to set left and right channel volumes separately. Changing Left and Right channel volumes separately: By : Pooia LalbakhshMS in Computer Engineering These...

Sending HTML emails with Indy

 
 
 
 
 
August 10, 2004
By Peter Morris
This example shows how to send HTML emails using Delphi and Indy, with embedded images. uses  idMessage;procedure TForm1.Button1Click(Sender: TObject);var  html: TStrings; ...

Password Authentication

 
 
 
 
 
July 9, 2004
Password authentication is used in many systems for authenticating the identity of one or both peers of a connection. This paper will help you design more secure password authentication...

Fast Refactoring with Castalia

 
 
 
 
 
May 20, 2004
Refactoring is the process of "improving the design of existing code." Learn how to become a faster and more productive refactorer with Castalia. This is the fourth...

COM and Windows Services

 
 
 
 
 
May 19, 2004
By Peter Morris
A little tip on using COM with Windows Services. Today I tried accessing an XML document from a Windows service.  When I prototyped my classes using a Windows forms app everything...

How To Navigate through your Code Faster

 
 
 
 
 
May 13, 2004
This article teaches techniques developers can use to navigate code faster and comprehend it better. (Originally published at delphi-expert.com on May 14, 2004) This is the third...
12345678next ›last »
  • English
  • French
  • German
  • Italian
  • Portuguese
  • Spanish
About Us | Privacy Policy | Terms & Conditions | Sitemap | FAQs | Contact Us
Copyright © 2008, How To Do Things - All Rights Reserved
  • Home

Computers & Internet

  • Databases
  • Hardware
  • Internet
  • Networking
  • Programming
    • Delphi
    • Other
  • Software
  • All Categories
  • Automotive
  • Business
  • Careers
  • Computers & Internet
  • Education
  • Electronics
  • Family & Relationships
  • Fashion & Personal Care
  • Finance & Real Estate
  • Food & Drink
  • Health & Fitness
  • Hobbies
  • Holidays
  • Home & Garden
  • Pets & Animals
  • Religion & Spirituality
  • Sports & Recreation
  • Travel