July 15, 2009
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.
June 20, 2009
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.
June 10, 2009
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.
April 4, 2009
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...
March 27, 2009
PHP is one of most widely used scripting languages. So how do you write PHP script?
March 27, 2009
This article explains how to manipulate form appearance on Windows XP by adding drop shadow effect.
February 7, 2009
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...
January 24, 2009
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.
January 24, 2009
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....
December 18, 2008
This short article will explain you how to capture screen content to a JPEG file from the Delphi program.
December 18, 2008
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...
October 21, 2008
How to create a database application with Delphi and an ACCESS database.
August 23, 2005
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...
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...
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...
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):...
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
...
August 9, 2005
function GetFileSize(const FileName: string): Integer; var sr: TSearchRec; begin Result := 0;
if FindFirst(FileName, faAnyFile, sr) = 0 then begin...
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...
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...
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).
...
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...
August 3, 2005
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...
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:
...
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...
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...
April 20, 2005
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...
April 9, 2005
This article will explain derived members in ECO. It's primary purpose is to describe the difference between the ReEvaluateSubscriber and ReSubscribeSubscriber parameters...
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...
April 7, 2005
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...
March 15, 2005
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...
March 15, 2005
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...
February 26, 2005
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...
February 10, 2005
procedure THtmlMailForm.SendButtonClick(Sender: TObject);begin if FRunning then begin MessageBeep(MB_OK); Display('**** ALREADY RUNNING ****'); Exit; end;
FRunning := TRUE; try {...
February 10, 2005
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...
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...
January 3, 2005
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...
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...
December 10, 2004
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...
December 9, 2004
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...
December 3, 2004
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...
November 15, 2004
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...
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...
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...
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...
August 10, 2004
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; ...
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...
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...
May 19, 2004
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...
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...