More Programming Articles Page 6

  • Time Is The Simplest Thing

    ...not! Primoz Gabrijelcic has been researching the different time systems used throughout the world and constructing a library of routines for converting between...
  • The Adaptor Pattern

    Peter Hinrichsen explores the practical use of design patterns again. This time round it's the the Adaptor Pattern which comes under scrutiny.The Delphi component...
  • Under Construction: Delphi 6 Web Services: SOAP

    Web Services is very much the buzz phrase of today, here Bob Swart shows how to use the new SOAP capabilities of Delphi 6 to create your very own Web Services as easy...
  • Interfaces: Off The Beaten Track

    Malcolm Groves shows how to use interfaces to automatically destroy objects, restore objects to previous states, cut away swathes of try..finally blocks, and deal with...
  • End-User Form Design

    Guy Smith-Ferrier examines solutions for end-user form design: allowing the user to move and resize components on a form, saving and restoring new form designs,...
  • Maximizing Web Applications With Database Pools

    Jason Southwell addresses the problem of getting your database-driven web applications to scale seamlessly, showing how to implement database connection pooling to...
  • Testing: Quality Time With DUnit

    Rob Bracken checks out what extreme programming using DUnit can do for your application development. You have probably heard of Extreme Programming, or XP (no, I don't...
  • Multi-Threading And COM

    Brian Long's comprehensive article from Issue 60 explains all you need to know about using mutliple threads safely and effectively in COM applications. Most...
  • Paradox File Corruption

    Brian Long's hugely popular article from Issue 42, plus his item from The Delphi Clinic in Issue 17 on the same theme. If you use any kind of database engine, but...
  • Apache Shared Modules

    Brian Long shows how to create and use Apache shared modules using Kylix. One of the potentially exciting things about Kylix is being able to write Apache web server...
  • C++ for Borland Delphi users

    An in-depth look at C++ Builder for Delphi users by columnist Brian Long, based on his article in Issue 19 (March 1997). C++ Builder is the third of four...
  • Memory Lost And Found... And Released

    Roy Nelson was astonished to find that lots of Delphi-written DLLs were regularly leaking memory: after tracking down the cause, he set to work finding a workable plug...
  • Microsoft Visual Studio .NET: A View From Across The Fence

    In this new column, Steve Scott gives a personal opinion on Microsoft's Visual Studio .NETBeing given the chance to write about Microsoft Visual Studio in a magazine...
  • Review: Bold For Delphi

    Julian Templeman evaluate's BoldSoft's add-on for Delphi programmers who want to design proper OO code using UML. If you want to know what OO modelling can do for you,...
  • Algorithms Alfresco: What's The Difference

    Julian Bucknall wants to find the longest common subsequence: that's file differencing to you and me. What the article was trying to show, and what I wanted to do,...
  • WebSnap Session Management For CGI

    WebSnap session management using TSessionsService is not available for CGI applications or Kylix web apps, but Bob Swart explains what the problem is, what to do about...
  • Algorithms Alfresco: Ask A Thousand Times

    Julian Bucknall discusses word indexing and document searches: if you want to know how Google works its magic this is the page to turn to. How does Google do it? Well....
  • Using XML And XSLT In Delphi

    Craig Murphy decrypts the latest crop of acronyms to fly across our desks and shows how to use XML and XSLT within our Delphi apps to transform documents (such as HTML...
  • What's New In Delphi 6?

    Brian Long kicks off our in-depth Delphi 6 review double-act with a tour of all that's new in the latest incarnation: what is it, what do you do with it, and is it any...
  • Algorithms Alfresco: Gilding Pale Streams

    Julian Bucknall extends the TStream class in a variety of interesting and useful ways, adding a variety of filters for debugging, regex handling, encryption and more....
  • Reduced use of Yellows

    This subject was originally a reply to Peter Morris N-tier newsgroup thread but I start a new thread here on the subject of DCOM for others wondering about DCom....
  • Dynamic navigation for higher performance

    Reducing or removing navigation code from the GUI by adding derived links and, at the same time, improving performance.Modeling class structures takes some thinking,...
  • Accessing an association class

    How to access the association object of two related objects.The fun bit is to get your hands on the newly created object (instance of AssocationClass). 1....
  • Starting with Bold for Delphi, Part 1

    Starting with Bold for Delphi is a series of articles design to provide an introduction to the Bold for Delphi product and effective techniques for applying the Bold...
  • Starting with Bold for Delphi, Part 2

    In the first article of this series the Bold model editor was introduced and basic modeling concepts explained. However, there is a lot that can be achieved within the...
  • Simple Query Builder using ADO Components?

    Writing a simple query builder using ADO Components.This article is intended to demonstrate how can we use the ADO components available in Delphi. I have written a...
  • Create a dynamic listening server with ICS in runtime.

    how to create a service listening on specific port.// this will create a listening socket on port 113 (Ident D) // and welcome any client with a text // when incoming...
  • Give Me the Details or File Summary Info

    How to read File Summary Information for non Office filesOn Windows 2000 you can right-click in Explorer to get the file properties on any file and can associate...
  • Check e-mail address validity

    In my work I am asking my self is there way to check e-mail address validity.This is one of the ways for validating emailsCheck e-mail address validity In my work I am...
  • How To send E-mail using PHP COM functions

    COM is a technology which allows the reuse of code written in any language (by any language) using a standard calling convention ...How to send E-mail using PHP COM...
  • How To Run Internal Programs (Processes) Using

    Escapade, or ESP for short, is a XML based server-side scripting language that provides an interface to back-end database contents...How to run internal programs...
  • Interbase transaction number bug

    While performing a necropsy on a database recently, I ran into a bug which may be of interest to some people.Attempts to attach to the database failed with the error...
  • How To Convert LongIP's to ShortIP's and Vice Versa

    IP converting (long/short) Example: 34753784563 instead of 193.234.22.12 used by different applications like IRC (DCC algorithm)Converts a LongIP to a ShortIP Function...
  • Painting on another application canvas.

    Code snippet that shows how to paint in another application's window or on the screen itself.Ever wished to paint in the window of Word, or on the desktop? Have a look...
  • A String class for delphi

    A string class wich incapsulates several string functionsI have done this small string class basing myself on QStrings and FastStrings, thus this class is fast and...
  • Implementing a Singleton Pattern

    Singleton Patterns are a nice way to have an object that can only have one instance (e.g. a cache, connection pooling etc.). The idea is that, instead of calling the...
  • Basics of Object Pascal (PDF)

    A Borland PDF describing the basics of Object Pascal.The attached document is a PDF from Borland. It is related to Turbo Pascal 5.5 and covers the basics of OOP (what...
  • Making a "recent files" menu

    How to make a simple recent files menu/list in your application.A while ago I had to add a Recent files Menu in a project I'm working on. So I wrote a simple component...
  • A background painter class

    Have you ever wanted to paint a bitmap tiled? centered? stretched? use this classHere is a class I found long ago from one of those lost to memory sources, its sole...
  • Web Services - Made Simple in Delphi 6...

    How do we access a web service from Delphi? How do we use SOAP components in Delphi?You can learn the basics of computer programming and creating software of your own...
  • Using miniLZO in Delphi

    How to use the miniLZO library written in ANSI C in your delphi application without a dllIntroduction LZO is a lossless compression algorithm that offers EXTREMELY...
  • Reading/Writing RTF text to/from Blob Fields

    I had to find out how to store RTF formatted text to blob fields, and how to retrieve it, retaining all the formatting. These should be generic enough to put in your...
  • How To Modify the Behaviour of a Component without Subclassing

    I needed links "à la" IE for a form. So I basically needed a TLabel but "TabStopable" and the TStaticText qualifies for that. But it doesn't draw...
  • Descending from TObjectList

    A useful method for implementing a class specific version of TObjectList with out the need for all those type casts.Here is a simple method of descending from...
  • GetFileVersion

    How to get the file version of a file as a string.function GetFileVersion(const Filename: string; var Version: string): Boolean; var VerBlk: VS_FIXEDFILEINFO; ...
  • IsCTRL

    Is the Control key held downfunction IsCTRL: Boolean; begin Result := GetKeyState(VK_CONTROL) and 128 0; end;
  • IsShift

    Is the shift key held downfunction IsShift: Boolean; begin Result := GetKeyState(VK_SHIFT) and 128 0; end;
  • Copy files with windows progress

    How to copy multiple / large files and show the windows progress form.(Make sure ShellAPI is in your USES list) Source and Dest are both a list of files separated with...
  • ExecAndWait

    How to execute a command and then wait for it to finish.procedure ExecAndWait(CommandLine: string; CommandShow: Longint); var pi: TProcessInformation; si:...
  • FixDate

    How to ensure a date entered is correct, and if not then fix it.function FixDate(YYYY, MM, DD: Word): TDateTime; begin if DD < 1 then DD := 1; if MM < 1 then MM :=...