More Programming Articles Page 8

  • Day of week etc

    Day of week, Day of year etcContributor: SWAG SUPPORT TEAM Program Gregorian; { Julian day to Gregorian date } Uses Crt; { Turbo/Quick Pascal ...
  • LZW viewer

    Code to show the contents of an LZH file.Contributor: SWAG SUPPORT TEAM Program lzhview; Uses   Dos, Crt; Const   BSize = 4096; { I/O Buffer Size }...
  • Copy directory

    How to copy an entire directoryContributor: ANDRE HEINO ARTUS > Does someone know how to copy a entire directory ??? implementation uses ShellAPI; {$R *.DFM}...
  • Finding Easter

    How to calculate Easter date.Contributor: JEAN MEEUS { ===============================================================     From chapter 4 of "Astronomical...
  • View contents of an ARJ file

    How to display the contents of an ARJ fileContributor: SWAG SUPPORT TEAM Program ReadArj; Uses  Crt,  Search; Const   ArjID = #96#234; Type   Array10 =...
  • Listbox Horizontal scrollbar

    How to show the Horizontal scroll bar for a listbox.sendmessage(ListBox.Handle, LB_SetHorizontalExtent, PixelWidth , 0);
  • Long filename to 8.3

    Convert long filenames to 8.3 format.Contributor: ANDRE V.D MERWE > Has anyone had any luck making GetShortPathName > to work? It's supposed to convert a long...
  • Pascal LZH

    An extemely fast LZH compressorContributor: KURT HAENEN {$R-} { NO range checking !! } { ---------------------------------------------------------------     This...
  • Real mode from windows

    How to create real-mode low memory pointers.Contributor: LEOPOLDO SALDANHA {Here is the code I promised to sent you. It works nice. You can read any part of the...
  • Disable start menu

    How to disable the start menuContributor: CHANDRAMDE@USA.NET For some reasons, we don't want our program to be disturbed by any program/window. Even we disable all...
  • CRC16

    Pascal CRC 16 Contributor: SWAG SUPPORT TEAM { >I'm looking For code to calculate the CRC32 of a series of Characters.   ...Unless you're CRCing a very...
  • Simple ComboBox property Editor

    The following code demonstrates how to use create a combo box property editor. Tested using Delphi 5unit ComboTest; interface uses Windows, Messages, SysUtils,...
  • Calling conventions and DLLs?

    How do I call a method in a DLL written in either C or C++?The importance of calling conventions In Delphi, when we declare a procedure or function, we can specify a...
  • Change default printer

    How to change the Windows default printer.Contributor: SWAG SUPPORT TEAM unit Chg_prn; interface uses WinTypes, WinProcs, Classes, sysutils, printers, dialogs,...
  • 32bit CRC

    32bit CRC compatible with ZIP and ARJContributor: SWAG SUPPORT TEAM { > I was kind of hoping to be ushered toward a File name I could locate > which would do...
  • PCXImage

    Import / export PCX under Delphi (5.0) //////////////////////////////////////////////////////////////////////// // // // ...
  • String pattern matching

    There are many times when you need to compare two strings, but want to use wild cards in the match - all last names that begin with 'St', etc.Contributor: DAVID...
  • AVI player

    An AVI player for DelphiContributor: ANDREA MOLINO This is a control for playing avi files. unit AVICtrl; interface { TAVIControl V 0.9b ...
  • 16 and 32 bit CRC

    Pascal CRC in 32 and 16 bitsContributor: FLOOR A.C. NAAIJKENS { Author: FLOOR A.C. NAAIJKENS Part of The ECO Library II: } Unit Eco_CRC; Interface Function...
  • Compressed file formats

    Here's a Program that will determine most of the major archive Types. Contributor: SWAG SUPPORT TEAM {  > I'm looking For descriptions of the formats of...
  • Bmp2GIF

    Convert BMP to GIFContributor: JOHN THE GREAT { Caveats: 1. This ONLY converts 256 color bitmaps! 2. The only format supported is GIF87a. } unit Bmp2Gif; interface...
  • Moonphase

    How to calculate Moon phasesContributor: ALAN GRAFF { As Robert Forbes said to All on 25 Apr 94...  RF> Anyone have any idea how to make an algorithm to...
  • LZSS unit

    Compress and uncompress unit using LZ77 algorithm for    Borland (Turbo) Pascal version 7.0Contributor: ANDREW EIGUS Unit LZSSUnit; {    LZSSUNIT - Compress and...
  • Cryptography

    Encrypt / decrypt codeContributor: ANATOLY PODGORETSKY unit Crypt32; { ************************************************************************* *...
  • Real Time Chip in PMode

    How to access the RealTime Chip from Protected mode.Contributor: GREG VIGNEAULT { MD>What would anyone here recommend as being the best way for DOS...
  • Ross Data Compression

    Pascal implementation adapted from C source code.Contributor: MIKE CHAPIN { Well here it is as promised. This is a Pascal port of Ross Data compression. This...
  • Windows is shutting down

    How to process WM_ENDSESSION etcContributor: HALLVARD VASSBOTN { In a previous mailed with the subject [Delphi] Serios bug when closing windows??? bimmer@ibm.net(Per...
  • Readstring streams line by line

    TLineStream class implementationContributor: MARTIN WALDENBURG {+--------------------------------------------------------------------------+ | Class: TLineStream ...
  • Contents of a RAR file

    How to list the contents of a RAR file.Contributor: GEORGE ROBERTS {Let me guess, you are trying to list out the files in the RAR archive, correct? Here's how I do...
  • Expanding a path to a node

    How to expand a path to a node without expaning unnecessary nodes.Contributor: CHRISTIAN FEICHTNER { How to expand a path to a TOutlineNode referenced by Index...
  • Changing MessageDlg font

    How to change MessageDLGContributor: DAVID WELSH > Does anyone know a way to change the font in the dialog displayed by > the MessageDlg function? The Dialogs unit...
  • LHArc

    Compress / Decompress LHA files in Pascal.Contributor: HARUHIKO OKOMURA (******************************************************************************) (* ...
  • Long filename

    Convert a DOS 8.3 format filename in to a long format filename.Contributor: ANGUS JOHNSON { A number of people have been asking about the API function GetFullPathName...
  • ROM BIOS date

    Get the ROM BIOS Date in a string formatContributor: JOSE ALMEIDA { Gets the ROM BIOS date in a ASCII string.   Part of the Heartware Toolkit v2.00 (HTelse.PAS) for...
  • View contents of Arj, LZH and ZIP files

    A unit which displays the contents of compressed filesContributor: STEVE WIERENGA { Author: Steve Wierenga ARJ Viewer } {Hello All: I am releasing these Units to the...
  • Hide taskbar

    How to hide the taskbar.Contributor: HUMBERTO LUIZ RAZENTE These procedures hide and show the Win95 Taskbar. I'd like to control whether or not all the items in the...
  • Day of week

    Zeller's Congruence is an algorithm that calculates a day of the week given a year, month and day. Contributor: EARL DUNOVANT { EARL DUNOVANT > Which date is...
  • LZW compressor

    A unit to compress LZW filesContributor: IAN HUNTER (* From: IAN HUNTER Subj: LZW Compression Unit *) Unit IHLZW;   {- Unit to handle data compression } Interface...
  • Txt 2 RTF

    Convert text to RTFContributor: ROBERT CRAM Why not use the TRichEdit Control to do the work for you? I created an extended RichEdit control with a RTFText property...
  • Create Unix dates

    This unit provides access to UNIX date related functions and proceduresContributor: BRIAN STARK ...
  • Zip viewer

    View the contents of a ZIP fileContributor: JOHN SHIPLEY {------8<-------------Snip---------------8<------------Snip------------8<-------} {$I-} UNIT...
  • Buttons

    Extra button formatting functionality found in Win95.Contributor: PA VAN LONKHUYZEN {****************************************************************} {Delphi 2.0...
  • Get / set system Date / Time

    Setting the PC system Date/timeContributor: CARLOS BEGUIGNE {Created by Carlos Beguinge, Sept 12, 1993} {Program to get the systems date using [GetDate] and allowing...
  • ARJ password cracker

    An example of how to crack ARJ passwords using brute force.Contributor: JOHN SHIPLEY...
  • Inheritance - Creating Sub/Super Classes - A Guideline...

    When can we create sub/super classes in an Object Oriented Design?Object Oriented Design/Visual Modeling THIS ARTICLE MAY HELP YOU IN THE EARLY AND INTERMEDIATE STAGES...
  • CRT32

    Delphi 32 version of the Pascal CRT unit.Contributor: FRANK ZIMMER Implementation of Turbo Pascal CRT-Unit for Win32 Console Subsystem _________________ Make file...
  • Unix time

    Unix time in ASMContributor: INBAR RAZ I saw a thread going on here, about the subject. I just happen to have programmed such a thing, for a certain program. It's...
  • Simple string compression

    A simple routine to compress strings.Contributor: SWAG SUPPORT TEAM {You won't get that sort of compression from my routines, but here they are anyway. When...
  • TLinearRegression class

    This article gives the source code for a nice, clean implementation of linear regression by the linear, least-squares error algorithm. (This article originally...
  • JIT Activation/Deactivation in COM+...

    What is JIT Activation/Deactivation? Why do we need this?The Reason Behind This... This article discusses both the advantages and disadvantages of using this service...