 |
|
 |
 |
 |
| Code Samples > Samples > Other |
|
Companies News:
| FastReport FMX released |  |
Report generator FastReport FMX is the first multiplatform solution for including Business Intelligence into software based on Embarcadero FireMonkey IDE (Delphi for MS Windows and Apple Mac OS X).
Compatible with Embarcadero RAD Studio XE2 (FireMonkey) and XE3 (FireMonkey 2).
Visual report designer is available now on both MS Windows and on MAC OS X!
Full sources.
Get more info here
|
| | Want to know more ? | |
|
AboutReg | FWS |
27 k |
06 Mar 2002 |
| By aa --. This program shows you the registry keys accesibility, it checks 3 different permission for the key: READ, READ-WRITE, and ALL-ACCESS (of course you can expand the list with adding new access check in the code).
Author just wants to show you that you should not use delphi's registry unit in NT's platform.
Author suggests you then to replace any reference to Registry unit with the patched version (RegistrA.pas) which acompanied with this distribution code. Actually, it doesn't do so much, just provides an access option when opening a key, which will inherited in further consecutive operation (read/write-etc).
This code also shows you a simple technique to get the system error message. Fully functional Source: Included
| | Download: D3 |
 |
|
|
Access Object | FWS |
16 k |
20 Jul 1995 |
By Herbster Scientific. Examples of creating file access objects and some demo programs. Fully functional Source: Included
| | Download: D1 |
|
|
|
C Builder Example Collection v.1.0 | SW |
13246 k |
08 Sep 2010 |
By VCLExamples.com. C++ Builder Examples Collection offers a wide range of source code and projects for C++ Builder. It contains 57 projects from basics to WINAPI, Database, Internet (Indy), ActiveX, COM and VCL components examples. Partially restricted Source: On purchase/registration Price: $24.50
| | Download: C2k10 C2k6 C2k7 C2k9 CB6 |
  |
|
|
Calculating Time Difference | FWS |
1 k |
28 Feb 2003 |
By Winshots Technologies. This source code sample demonstrates how to calculate a time difference between two time strings, for example: difference (or time Delta) between the Start Time "13:42:18" and End Time "13:47:59" would be 341 seconds. Fully functional Source: Included
| | Download: D3 D4 D5 D6 D7 |
 |
|
|
Collection of Delphi examples and applications v.2.0 | SW |
3352 k |
19 Aug 2011 |
By Del123.com software. Collection of Delphi examples and applications as a set of Delphi samples with full source code and project files. Demo only Source: On purchase/registration Source Price: $75 Exe-Demo Included
| | Download: D2006 D2009 D2010 D7 DXE |
  |
|
|
Combin v.1.00 | FWS |
78 k |
14 Oct 2006 |
By Andrey G. Sadovoy. DLL for Delphi with most uneversal directive STDCALL for work with COMBINATORICS. Example, codes and help included. Fully functional Source: Included
| | Download: D6 |
 |
|
|
CppUnit test module generator v.1.0 | FW |
540 k |
23 May 2008 |
By Zahar ECT Service. Small program for writing CppUnit test modules for C++ classes. Parses public section of class (opens header file) and creates source & header files with tests. Fully functional Source: On request Exe-Demo Included
| | Download: CB5 |
|
|
|
Delphi Associative Arrays v.1 | FWS |
255 k |
08 Apr 2008 |
By BrandsPatch. A useful feature of programming languages such as JavaScript and PHP is the ability to store sequences of data in an array indexed using descriptive text labels. A Delphi implementation for such arrays - known as associative arrays - is provided here. Fully functional Source: Included Exe-Demo Included
| | Download: D2005 D2006 D2007 D3 D4 D5 D6 D7 |
 |
|
|
DelphiUtiles v.1 | FWS |
2 k |
17 Nov 2004 |
By Pablo Alebizakis. Functions for padding a string, formating a string as a name (ex. output: "John Doe"), get a number in letters in Spanish, calculate years between 2 dates, and calculate the control digit of the Uruguayan ID (Digito de control de la Cxe9dula de Identidad Uruguaya). Fully functional Source: Included
| | Download: D1 D2 D3 D4 D5 D6 D7 |
|
|
|
Dynamic HTML Editing Control Sample v.0.1 | FWS |
199 k |
03 Apr 1998 |
| By Ron Loewy. Sample of using the new Dynamic HTML Editing control from Microsoft. Requires installation of the MS DHTML Editing Control SDK. Early beta - limited functionality.
Shows bugs in the MS controls. Fully functional Source: Included Exe-Demo Included
| | Download: D3 |
 |
|
|
FastFile Unit v.1.0 | C |
9 k |
25 Aug 2008 |
By Miloud HEMERLAIN. Store and withdraw a file and it's entire directory tree.
The FastFile unit is a source code of the Sniper's FF engine. You can use it in whatever from DB to storage. Author used it in protecting EXEs and DLLs from viruses.
FF unit uses block by block writing and reading methods with an extremely and logical system which takes the smallest amount of RAM possible. Fully functional Source: On purchase/registration Price: $5 Source Price: $5
| | Download: D6 |
 |
|
|
How To Make Interfaces To A Class | FWS |
4 k |
19 Oct 1998 |
By Pal Sitkei. Sample program to make interfaces to a class. The author looking for partner to explore the world of COM. Fully functional Source: Included
| | Download: D3 D4 |
 |
|
|
How to make help-menu item | FWS |
17 k |
22 Jun 1998 |
By Ali Butaev. In this article author would like to tell about realization of a so-called help-item of the main menu. Fully functional Source: Included
| | Download: D1 D2 D3 |
|
|
|
IBM MQSeries Delphi API Samle 0.0.4 | FWS |
112 k |
16 May 2002 |
By Dinko Miljak. This is example how to use IBM MQSeries 5.2 API without IBM ActiveX components. Black window (non GUI) exe samples are included. Fully functional Source: Included Exe-Demo Included
| | Download: D2 D3 D4 D5 D6 |
|
|
|
Improved Random Number Generator v.1 | FW |
238 k |
13 Feb 2008 |
| By BrandsPatch. Random number sequences generated in Delphi using the native Random function leave much to be desired. By default the same number sequence is produced each time the parent application is run. Matters can be improved to a certain extent by seeding the random number generator using the system clock by calling the Randomize function.
However, this does not change the fact that the algorithm used is quite simplistic. Algorithms of greater complexity that claim to yield more random sequences abound. However, it is not really necessary to code such an algorithm. Windows comes with an intrinsic random number generator in the form of the CoCreateGUID function. We demonstrate how it can be used with a minimum of coding to create a truly robust sequence of pseudo-random numbers. Fully functional Source: None Exe-Demo Included
| | Download: D2005 D2006 D2007 D4 D5 D6 D7 |
 |
|
|
JavaScript like setTimeout function v.1.0 | FWS |
1 k |
08 Aug 2010 |
By XDenSer Software. Delphi standard TTimer component is not handy in some situations - for example, when you need to run something with delay only one or several times, or when you want to use timer in "non-form" unit. New Delphi 2009/2010 anonymous functions feature allows to create JavaScript like setTimeout function. Fully functional Source: Included
| | Download: D2009 D2010 |
 |
|
|
Kanade's Appmodels - Sample applications in Delphi v.1.2 | FWS |
50 k |
17 Jan 2001 |
By Sanjay Kanade. Sample application code or templates in Delphi to demonstrate saving and restore of the application state in the Windows registry, handling the hints, showing an initial screen, integrating help, etc. Includes many other tips, such as, using a Params.pas file to control many features. Fully functional Source: Included
| | Download: D5 |
 |
|
|
Making Delphi Do It v.2.0 | FW |
44 k |
10 Aug 1998 |
By Domino Computing Services. "Windows help file that details some tricky stuff that I figured out how to make Delphi do. Most of the magic from my programs above is included with commentary on how I came to get done what I eventually got done. Some currently included topics:
- New Take on "Tabset with MDI";
- Simulating MDI without MDI Overhead;
- Correct 3D MDI Parent Window;
- Hide the Close Button (X) on MDI Children;
- Hiding a MDI Child Window;
- Display Bitmap on MDI Parent Form;
- Trapping System Error Messages;
- Show/Hide Win95 Taskbar;
- Send Tab when Enter is Pressed;
- Knowing if the Shift/Control/Alt key is pressed.
Fully functional Source: None
| | Download: D1 D2 D3 D4 |
 |
|
|
MenuTree | FWS |
3 k |
06 Dec 1999 |
By Sergey V. Lugovskoi. Program, which allows you to build menu, which looks like TTreeView. Items stored in common text file. Fully functional Source: Included
| | Download: D4 |
|
|
|
My Quickreport Preview v.1.0 | FWS |
427 k |
22 Jun 2005 |
By Wilson A. Augusto. QuickReport Preview example:
- Preview personalized;
- Two panels for simulation Zoom in the second panel;
- Printer's config;
- Printer sequence of pages;
- Print only the actual page;
- Printer more the one copies;
- Save / restore file.
Fully functional Source: Included Exe-Demo Included
| | Download: D5 |
 |
|
|
Package Solution v.1.06 | FWS |
111 k |
27 Jul 1998 |
By Alexander Mehlhorn. The Package Solution is for all those that have gone beyond the limits of Delphi Applications and are exhausted using normal DLL's that load them self into memory upon execution. The steps to follow when you application gets rather large are the runtime creation of forms or the use of DLL's. However the problem still remains. All information available within your application is residing inside your memory and therefore will block your PC from performing at its best. The package solution is the answer that you have been waiting for if you find yourself in this situation or you know that you will be. Packages are Delphi Add-Ons that install themself into Delphi whenever you want to add your own components. If you want to free them then you simply dispose these Packages by uninstalling them. However until now we have not seen a basic solution for our own software and therefore its been quiet a problem implementing things properly. Fully functional Source: Included
| | Download: D3 D4 |
 |
|
|
Precise Sleep function v.0.666b | FWS |
1 k |
27 Jun 2005 |
By Slava R.. Precise Sleep() function with possibility of making delays ~1ms (+0..0.5 ms). Fully functional Source: Included
| | Download: CB1 CB3 CB4 CB5 CB6 |
 |
|
|
Printing on text printer | FWS |
5 k |
12 Oct 2000 |
By Zil. Shows how printing on text printer can be implemented. Fully functional Source: Included
| | Download: D2 D3 D4 D5 |
|
|
|
Runge-Kutta Method v.3 beta2 | FWS |
384 k |
12 Sep 2011 |
By Andrey G. Sadovoy. The Delphi and Lazarus unit of solving ordinary differencial equations and their systems. With examples. Fully functional Source: Included
| | Download: D2006 D6 |
 |
|
|
Search directory v.2.00 | FWS |
7 k |
22 Jul 2006 |
By Rubinetti Mauro. In Delphi exists the functions for research files, but not for directory to search, here like sistem to resolving the problem. Fully functional Source: Included Exe-Demo Included
| | Download: D2005 D3 D4 D5 D6 D7 |
 |
|
|
Seths v.1.0 | FWS |
8 k |
02 Jun 1999 |
By Seth Taylor. This will provide support for dynamic arrays, and an optimized method to scan a bitmap and create a window region. Sample code shows how to use a LongInt and Pointer dynamic array, the Pointer dynamic is used for a dynamic array of TButton's. Fully functional Source: Included
| | Download: D3 |
|
|
|
Short Headers | FWS |
3 k |
08 Jun 1999 |
By Malekith. Small source and text file containing idea how to Improve compilation speed, preventing BCB compiling VCL headers anytime you include another unit header. Fully functional Source: Included
| | Download: CB1 |
|
|
|
SockeASM v.1.0 | FWS |
2 k |
21 Jan 2000 |
By Socke2ooo. This is a small sample how to use constant and variable Delphi parameters within Assembly language. Fully functional Source: Included
| | Download: D3 |
|
|
|
Sorting Algorithms v.1 | FWS |
241 k |
09 Nov 2007 |
By BrandsPatch. Delphi implementations for the following sorting algorithms are provided:
- Bubble Sort
- Selection Sort
- Insertion Sort
- Heap Sort
- Quick Sort
- Shell Sort.
Fully functional Source: Included Exe-Demo Included
| | Download: D2005 D2006 D2007 D3 D4 D5 D6 D7 |
 |
|
|
SysInfo v.4.00 beta3 | FWS |
456 k |
25 Apr 2011 |
By Andrey G. Sadovoy. Delphi & Lazarus units for system information access. Uses Win32 API. Examples included. Fully functional Source: Included
| | Download: D2006 |
 |
|
|
TBitList v.1 | FWS |
3 k |
04 Dec 2007 |
By BrandsPatch. TBitList is similar to the TBits class in Delphi. It can be used to store a virtually unlimited number of boolean values in a bitfield - a significant saving over storing an array of booleans. However, unlike TBits the stored values can be written to/retrieved from file. Also, the code is pure Delphi - easier to understand and to modify. Fully functional Source: Included
| | Download: D2005 D2006 D2007 D3 D4 D5 D6 D7 |
 |
|
|
TextStream v.1.0 | FWS |
2 k |
30 Mar 1999 |
By W.A. ten Brink. This code is created as a sample about using TextFile functions with more complex input/output. It's kept simple to encourage other people to create their own TextFile-based routines. Fully functional Source: Included
| | Download: D2 D3 D4 |
|
|
|
Tray Icon 2010 | FWS |
372 k |
03 Jan 2011 |
| By Frank van Bommel. Tray Icon is an example of a program that, when executed, resides in the system tray and shows a simple popup menu to close and minimize the program. Again just simple and short sample code of how to include this behavior into any programs or projects you may make. Compatible from Delphi 7 till Delphi 2010, and working under Windows 7. Fully functional Source: Included Exe-Demo Included
| | Download: D2005 D2006 D2007 D2009 D2010 D7 |
  |
|
|
Various Units | FWS |
6 k |
17 Jun 2009 |
By arseniiv. There's some Delphi units for different purposes:
- CommandLine - simple cmdline params handling (include boolean and string keys and paths)
- Escaped - escaping and unescaping strings (as JavaScript functions)
- FileCls - (un)registering file types in Windows
- Gradient32 - for selecting gradient colors for Graphics32 library
- Logging - simple log file support.
Fully functional Source: Included
| | Download: D7 |
 |
|
|
wsMarkov v.1.0 | FWS |
8 k |
17 Sep 2006 |
By Janis Elsts. A semi-complex application that can gather statistics from given text(s) and generate a random text that appears to be meaningful. Based on assumption that the next word to appear in a text is only dependent on a couple of previous words - treating the text as a Markov chain. This method is sometimes used in natural language processing tasks. Fully functional Source: Included
| | Download: D7 |
 |
|
|
xIniFile v.1 | FWS |
15 k |
07 Jul 2006 |
| By Rodrigo Ristow. Simple Object to take all data (Tedit.text, TComboBox.ItemIndesx, TLabel.caption... ) from a Delphi form and save it in a INI-file.
Supports: TEdit, TMaskedit, TMemo, TLabel, TCheckBox , TRadiobox and TComboBox, you are able to add support for other objects. Fully functional Source: Included
| | Download: D7 |
|
|
| News from our Sponsors |
Problem Solving with Delphi This title includes a book and a CD. The purpose of the book is to use Delphi as a vehicle to introduce some fundamental algorithms and to illustrate several mathematical and problem-solving techniques. This book is therefore intended to be more of a reference for problem-solving, with the solution expressed in Delphi. It introduces a somewhat eclectic collection of material, much of which will not be found in a typical book on Pascal or Delphi. Many of the topics have been used by the author over a period of about ten years at Bond University, Australia in various subjects from 1993 to 2003. Much of the work was connected with a data structures subject (second programming course) conducted variously in MODULA-2, Oberon and Delphi, at Bond University, however there is considerable other, more recent material, e.g., a chapter on Sudoku. more...
Kindle, Wi-Fi, Graphite, 6 inches Display with New E Ink Pearl Technology Kindle is our #1 bestselling item for two years running. It's also the most-wished-for, most-gifted, and has the most 5-star reviews of any product on Amazon. Now it's even better.
- All-New, High-Contrast E Ink Screen - 50% better contrast with latest E Ink Pearl technology
- Read in Bright Sunlight - No glare
- New and Improved Fonts - New crisper, darker fonts
- New Sleek Design - 21% smaller body while keeping the same 6" size reading area
- 17% Lighter - Only 8.5 ounces, weighs less than a paperback
- Battery Life of Up to Two Months - A single charge lasts up to two months with wireless off
- Double the Storage - Up to 3,500 books
- More...
more... |
| |
Advertising on Torry's Delphi Pages
|
 |
 |
 |
|
 |