Delphi Programming: Most Popular Articles
These articles are the most popular over the last month.
Network traffic monitor
A free network (Internet / intranet) traffic (download / upload) monitor. Network traffic monitor allows you to quickly and easily examine the network usage of the local computer. Full Delphi source code included.
A free network (Internet / intranet) traffic (download / upload) monitor. Network traffic monitor allows you to quickly and easily examine the network usage of the local computer. Full Delphi source code included.
Virtual Key Codes
Symbolic constant names, hexadecimal values, and keyboard equivalents for the virtual key codes used by Windows.
Symbolic constant names, hexadecimal values, and keyboard equivalents for the virtual key codes used by Windows.
A Beginner's Guide to Delphi
A Beginner's Guide to Delphi Programming. Free online programming tutorial / course for beginner developers. Focus on Borland Delphi.
A Beginner's Guide to Delphi Programming. Free online programming tutorial / course for beginner developers. Focus on Borland Delphi.
Database Programming Course
Free online database programming course for beginner Delphi developers. Focus on ADO techniques.
Free online database programming course for beginner Delphi developers. Focus on ADO techniques.
DBGrid to the Max
Contrary to most other Delphi data-aware controls, the DBGrid component has many nice features and is more powerful than you would have thought. The "standard" DBGrid does its job of displaying and manipulating records from a dataset in a tabular grid. However, there are many ways (and reasons) why you should consider customizing the output of a DBGrid...
Contrary to most other Delphi data-aware controls, the DBGrid component has many nice features and is more powerful than you would have thought. The "standard" DBGrid does its job of displaying and manipulating records from a dataset in a tabular grid. However, there are many ways (and reasons) why you should consider customizing the output of a DBGrid...
Sorting records in Delphi DBGrid by Clicking on Column Title
Sorting records in Delphi DBGrid. How to sort records in Delphi DbGrid by clicking on the column title. Plus: how to change the appearance of the selected column title to reflect the sort order. Even more: how to change the cursor when moving over the DBGrid column titles.
Sorting records in Delphi DBGrid. How to sort records in Delphi DbGrid by clicking on the column title. Plus: how to change the appearance of the selected column title to reflect the sort order. Even more: how to change the cursor when moving over the DBGrid column titles.
Registering DLL and ActiveX controls from code
How to register (and unregister) OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
How to register (and unregister) OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
Execute External Program, File
Executing and Running Applications and Files from Delphi Code.
Executing and Running Applications and Files from Delphi Code.
Delphi Tips 165 - 168
Delphi tip: How to comment out large amount of source code
Delphi tip: How to comment out large amount of source code
Connecting to a database. BDE? ADO? - DB/2 - Page 1/4
Chapter two of the free Delphi database online course. How to connect to an Access database - the UDL file? Looking forward: the smallest ADO example.
Chapter two of the free Delphi database online course. How to connect to an Access database - the UDL file? Looking forward: the smallest ADO example.
How to create an Internet Shortcut (.URL) file
Unlike regular .LNK shortcuts (that point to a document or an application), Internet Shortcuts point to an URL (web document). Here's how to create an .URL file, Internet Shortcut, using Delphi.
Unlike regular .LNK shortcuts (that point to a document or an application), Internet Shortcuts point to an URL (web document). Here's how to create an .URL file, Internet Shortcut, using Delphi.
Delphi Tips and Tricks
Delphi tips, tricks and code snippets. Looking for a small code sample to help you make something big? It's here!
Delphi tips, tricks and code snippets. Looking for a small code sample to help you make something big? It's here!
Understanding the TextBox ASP.NET control
Understanding the TextBox ASP.NET control. Taking a quick look at the TextBox ASP.NET web server control - the only control designed for user input. TextBox has several faces: single-line text entry, password entry or multi-line text entry.
Understanding the TextBox ASP.NET control. Taking a quick look at the TextBox ASP.NET web server control - the only control designed for user input. TextBox has several faces: single-line text entry, password entry or multi-line text entry.
Accessing and managing MS Excel sheets with Delphi (Page 1/7)
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Creating and Using DLLs
A Dynamic Link library, or DLL, is a collection of routines (small programs) that can be called by applications and by other DLLs. Using Delphi, we can write and use our own DLLs, and we can call functions in DLLs developed with other systems / by other developers. Find out how.
A Dynamic Link library, or DLL, is a collection of routines (small programs) that can be called by applications and by other DLLs. Using Delphi, we can write and use our own DLLs, and we can call functions in DLLs developed with other systems / by other developers. Find out how.
Where to Find Custom Delphi Components?
Where to look for various free, shareware or commercial Delphi third-party components.
Where to look for various free, shareware or commercial Delphi third-party components.
Send Data to Another App.
Learn how to send the WM_CopyData message between two Delphi applications to exchange information and make two applications communicate. The accompanying source code demonstrates how to send a string, record (complex data type) and even graphics to another application.
Learn how to send the WM_CopyData message between two Delphi applications to exchange information and make two applications communicate. The accompanying source code demonstrates how to send a string, record (complex data type) and even graphics to another application.
XML and Delphi
Everything you need to know about Delphi and the Extensible Markup Language. Find out about creating and parsing XML documents, look for parser components and more.
Everything you need to know about Delphi and the Extensible Markup Language. Find out about creating and parsing XML documents, look for parser components and more.
Understanding Arrays in Delphi
The concept of arrays in Delphi is simple: arrays allow us to refer to a series of variables by the same name and to use a number (an index) to tell them apart. Arrays have both upper and lower bounds, and the elements of the array are contiguous within those bounds.
The concept of arrays in Delphi is simple: arrays allow us to refer to a series of variables by the same name and to use a number (an index) to tell them apart. Arrays have both upper and lower bounds, and the elements of the array are contiguous within those bounds.
Sending email messages
Sending email messages. Learn how to send email messages with attachments using Indy and Delphi. Full source code to a simple 'SMTP Mail Sender' application included.
Sending email messages. Learn how to send email messages with attachments using Indy and Delphi. Full source code to a simple 'SMTP Mail Sender' application included.
Dynamic Link Libraries
Everything you ever wanted to know about DLLs and Delphi but didn't know where to look for answers (or were to afraid to ask)
Everything you ever wanted to know about DLLs and Delphi but didn't know where to look for answers (or were to afraid to ask)
How to save a web page as HTML or MHT
Here's how to save a web page displayed inside a WebBrowser (TWebBrowser component) as a raw HTML file or into a single (MHT) file (MHTML format: web archive - single file).
Here's how to save a web page displayed inside a WebBrowser (TWebBrowser component) as a raw HTML file or into a single (MHT) file (MHTML format: web archive - single file).
String handling routines - Delphi Programming
String handling routines
String handling routines
Understanding Pointer in Delph
An introduction to pointer data type in Delphi. What are pointers, why, when and how to use them.
An introduction to pointer data type in Delphi. What are pointers, why, when and how to use them.
Exchanging Data over the Network using Delphi
Exchanging Data over the Network using Delphi. In this article we'll examine two Delphi components: TServerSocket and TClientSocket, both designed to let you read and write information over a TCP/IP connection - thus enabling you to write network-aware applications.
Exchanging Data over the Network using Delphi. In this article we'll examine two Delphi components: TServerSocket and TClientSocket, both designed to let you read and write information over a TCP/IP connection - thus enabling you to write network-aware applications.
Emaill Courses
Each online course is sent to you via email on a daily or weekly basis and is designed to help you learn a specific Delphi programming skill or solve a particular problem in Delphi. There are no grades or degrees, only a whole lot of free online learning.
Each online course is sent to you via email on a daily or weekly basis and is designed to help you learn a specific Delphi programming skill or solve a particular problem in Delphi. There are no grades or degrees, only a whole lot of free online learning.
Date/Time routines - Delphi Programming
Date/Time Delphi functions and procedures in RTL
Date/Time Delphi functions and procedures in RTL
Running Flash animations with Delphi
Running Flash animations using Delphi. How to display Macromedia Flash animations (swf) inside a Delphi application. Grasp the fundamentals of integrating Macromedia Flash animations and Delphi
Running Flash animations using Delphi. How to display Macromedia Flash animations (swf) inside a Delphi application. Grasp the fundamentals of integrating Macromedia Flash animations and Delphi
Introducing Borland Delphi - Page 1/3
A Beginners Guide to Delphi Programming: Chapter 1. What is Borland Delphi? Where to download a free version, how to install and configure it.
A Beginners Guide to Delphi Programming: Chapter 1. What is Borland Delphi? Where to download a free version, how to install and configure it.
Dodge Game
Here's another simple yet addictive game written in Delphi. Dodge game has a simple rule: collect the blue squares, avoid the red dots. A great way to learn controlling the mouse :) Dodge game - full source code included!
Here's another simple yet addictive game written in Delphi. Dodge game has a simple rule: collect the blue squares, avoid the red dots. A great way to learn controlling the mouse :) Dodge game - full source code included!
Delphi Tips 193 - 196
Delphi tip: Correct date format for SQL
Delphi tip: Correct date format for SQL
Understanding ViewState and Postback Processing in ASP.NET applications
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 18. Find out what events (and in what order) are generated when ASP.NET receives a request for a Web Form. Learn about the ViewState - a technique ASP.NET uses to maintain page state changes across postbacks.
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 18. Find out what events (and in what order) are generated when ASP.NET receives a request for a Web Form. Learn about the ViewState - a technique ASP.NET uses to maintain page state changes across postbacks.
Understanding Keyboard Events
Get familiar with the OnKeyDown, OnKeyUp, and onKeyPress Delphi event procedures to respond to various key actions or handle and process ASCII characters along with other special purpose keys.
Get familiar with the OnKeyDown, OnKeyUp, and onKeyPress Delphi event procedures to respond to various key actions or handle and process ASCII characters along with other special purpose keys.
Exchanging Data over the Network using Delphi - Part2
Exchanging Data over the Network using Delphi. An introduction to sending data over the network using Delphi and Indy. The article focuses on sending / receiving record data and raw (binary) data using TCP connections.
Exchanging Data over the Network using Delphi. An introduction to sending data over the network using Delphi and Indy. The article focuses on sending / receiving record data and raw (binary) data using TCP connections.
SQL in Delphi
Using Structured Query Language in Delphi.
Using Structured Query Language in Delphi.
Working with GIF images in Del
Working with GIF images in Delphi. Need to display an animated GIF image in a Delphi application? Even though Delphi does not natively support GIF image files formats (like BMP or JPEG) there are a few great (free source) components available on the Net, which add the ability to display and manipulate GIF images at run as well as at design time to any Delphi application.
Working with GIF images in Delphi. Need to display an animated GIF image in a Delphi application? Even though Delphi does not natively support GIF image files formats (like BMP or JPEG) there are a few great (free source) components available on the Net, which add the ability to display and manipulate GIF images at run as well as at design time to any Delphi application.
Accessing and managing MS Excel sheets with Delphi (Page 2/7)
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Inside the (Delphi) EXE
Storing more that just code in the application executable file. Working with resources from Delphi. How to embed a WAV, AVI and an MP3 file in a Delphi executable.
Storing more that just code in the application executable file. Working with resources from Delphi. How to embed a WAV, AVI and an MP3 file in a Delphi executable.
Handling Windows Messages
One of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Handling Windows Messages the Delphi way!
One of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Handling Windows Messages the Delphi way!
System Tray Delphi application - quick and easy
Placing Delphi applications in the System Tray in easy steps. The perfect place form programs that are left running for long periods of time with no user interaction.
Placing Delphi applications in the System Tray in easy steps. The perfect place form programs that are left running for long periods of time with no user interaction.
String Types in Delphi (Delphi For Beginners)
Understanding and managing string data types in Delphi's Object Pascal. Learn about differences between Short, Long, Wide and null-terminated strings.
Understanding and managing string data types in Delphi's Object Pascal. Learn about differences between Short, Long, Wide and null-terminated strings.
Accessing and managing MS Excel sheets with Delphi (Page 3/7)
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Uploading files to a web server with ASP.Net
Let's enable uploading of binary files from a client browser to the web server in ASP.Net web applications. Delphi for .Net and ASP.NET provide an easy way to accept files from the client using HTMLInputFile ('HTML File Upload' HTML server control) and HTTPPostedFile classes.
Let's enable uploading of binary files from a client browser to the web server in ASP.Net web applications. Delphi for .Net and ASP.NET provide an easy way to accept files from the client using HTMLInputFile ('HTML File Upload' HTML server control) and HTTPPostedFile classes.
TClipboard.Cut-Copy-Paste
Working with the Windows Clipboard from a Delphi application - basic operations: Cut, Copy and Paste.
Working with the Windows Clipboard from a Delphi application - basic operations: Cut, Copy and Paste.
Fundamentals of Database Development (with Delphi) - DB/1 - Page 1/2
Chapter one of the free Delphi database online course. Delphi as the database programming tool, Data Access with Delphi...just a few words, Building a new MS Access database.
Chapter one of the free Delphi database online course. Delphi as the database programming tool, Data Access with Delphi...just a few words, Building a new MS Access database.
Decompiling Delphi
Whispering about reverse engineering Delphi applications: 'I have a Delphi program's .exe, can I decompile it and get the source?'
Whispering about reverse engineering Delphi applications: 'I have a Delphi program's .exe, can I decompile it and get the source?'
Keyboard Hooks (with Example)
This document describes what Windows hooks are and how to use them within a Delphi application.
This document describes what Windows hooks are and how to use them within a Delphi application.
ScreenThief - stealing screen shots over the Network
A free network screen shot grabber application, with source code. Learn how to send / receive raw (binary) data (screen shot images) using TCP connections.
A free network screen shot grabber application, with source code. Learn how to send / receive raw (binary) data (screen shot images) using TCP connections.
Delphi OOP Course - Into
Free online Borland Delphi OOP Course: Chapter Overview.
Free online Borland Delphi OOP Course: Chapter Overview.
Pictures inside a database - DB/3 - Page 1/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Code For Fame and Glory
If you are like me, you like experimenting - creating pieces of Delphi code just to learn something new and create something interesting. If nothing else, to amaze your coworkers / family / yourself. Here's a Delphi contest for you: create a fancy Delphi application or just a piece of Delphi code! For Fame and Glory.
If you are like me, you like experimenting - creating pieces of Delphi code just to learn something new and create something interesting. If nothing else, to amaze your coworkers / family / yourself. Here's a Delphi contest for you: create a fancy Delphi application or just a piece of Delphi code! For Fame and Glory.
CheckBox inside a DBGrid
Adding components to a DBGrid. Here's how to place a check box into a DBGrid. Create visually more attractive user interfaces for editing boolean fields inside a DBGrid.
Adding components to a DBGrid. Here's how to place a check box into a DBGrid. Create visually more attractive user interfaces for editing boolean fields inside a DBGrid.
Keyboard Hook For Components
Intercepting keyboard input for controls that cannot receive the input focus. Working with keyboard hooks in Delphi.
Intercepting keyboard input for controls that cannot receive the input focus. Working with keyboard hooks in Delphi.
Binding the DataList ASP.NET Control with Dynamic Templates (in Delphi Web Applications)
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 22. Learn how to programmatically implement the ITemplate interface to dynamically create the ItemTemplate content for a DataList Web Server control.
A Beginner's Guide to ASP.NET Programming for Delphi developers: Chapter 22. Learn how to programmatically implement the ITemplate interface to dynamically create the ItemTemplate content for a DataList Web Server control.
Drag 'n' Drop in VCL
Delphi makes it easy to program dragging & dropping into our applications. We can even drag and drop from one form to another or from Windows Explorer to our application, or from-to what ever we want, as you will see.
Delphi makes it easy to program dragging & dropping into our applications. We can even drag and drop from one form to another or from Windows Explorer to our application, or from-to what ever we want, as you will see.
Fundamentals of Database Development (with Delphi) - DB/1 - Page 2/2
Chapter one of the free Delphi database online course.
Chapter one of the free Delphi database online course.
Delphi Tips 173 - 176
Delphi tip: How to split a string into an array
Delphi tip: How to split a string into an array
Managing Ascii (Text) Files
Reading and writing to text (ascii) files using Delphi code. Find out how to read a line by line of a txt file and how to write some data back to the file.
Reading and writing to text (ascii) files using Delphi code. Find out how to read a line by line of a txt file and how to write some data back to the file.
Coloring the TDBGrid Delphi component
Coloring DBGrid. How to enhance the functionality of a TDBgrid component using colors
Coloring DBGrid. How to enhance the functionality of a TDBgrid component using colors
BPL vs. DLL
An overview of creating and using 'Borland Package Libraries' and how they compare with 'Dynamic Link Libraries' in creating smaller Delphi applications.
An overview of creating and using 'Borland Package Libraries' and how they compare with 'Dynamic Link Libraries' in creating smaller Delphi applications.
Access / SQL Server Database Explorer with full Delphi source code
The ADPDBExplorer (About Delphi Programming Database Explorer) application allows you to connect to a Microsoft Access (MDB) database and/or SQL Server / MSDE database to explore a database structure, insert, edit or delete data. Features also include running 'free-hand' queries (select, insert, update, etc.) against the database using a simple query builder. A simple master-details relationships builder allows displaying and operating on joined tables.
The ADPDBExplorer (About Delphi Programming Database Explorer) application allows you to connect to a Microsoft Access (MDB) database and/or SQL Server / MSDE database to explore a database structure, insert, edit or delete data. Features also include running 'free-hand' queries (select, insert, update, etc.) against the database using a simple query builder. A simple master-details relationships builder allows displaying and operating on joined tables.
All the Delphi RTL Quick Reference - Delphi Programming
All the Delphi RTL (run time library functions and procedures) Quick Reference
All the Delphi RTL (run time library functions and procedures) Quick Reference
Learning Delphi Online
Learning Delphi online - where to search for help, tutorials and sample code
Learning Delphi online - where to search for help, tutorials and sample code
Intro to the Delphi Language
An introduction to Delphi Pascal. Before you start developing more sophisticated applications by using the RAD features of Delphi, you should learn the basics of the Delphi Pascal language.
An introduction to Delphi Pascal. Before you start developing more sophisticated applications by using the RAD features of Delphi, you should learn the basics of the Delphi Pascal language.
Web Forms navigation in ASP.NET - Part 1
Web Forms navigation in ASP.NET - Part 1. Exploring navigation techniques between Web Form pages: postbacks, direct navigation (using the <a> tag) and code-based navigation (using Server.Transfer and Response.Redirect).
Web Forms navigation in ASP.NET - Part 1. Exploring navigation techniques between Web Form pages: postbacks, direct navigation (using the <a> tag) and code-based navigation (using Server.Transfer and Response.Redirect).
Queries with ADO - DB/7
Chapter seven of the free Delphi Database Course for beginners. Take a look at how you can take advantage of the TADOQuery component to boost your ADO-Delphi productivity.
Chapter seven of the free Delphi Database Course for beginners. Take a look at how you can take advantage of the TADOQuery component to boost your ADO-Delphi productivity.
Adding components to a DBGrid
Adding components to a DBGrid. How to place just about any Delphi control (visual component) into a cell of a DGBrid. Find out how to put a CheckBox, a ComboBox (drop down list box), a DateTimePicker (calendar) and even an Image inside the DBGrid.
Adding components to a DBGrid. How to place just about any Delphi control (visual component) into a cell of a DGBrid. Find out how to put a CheckBox, a ComboBox (drop down list box), a DateTimePicker (calendar) and even an Image inside the DBGrid.
Accessing "Configuration Settings" files (.INI) with Delphi
How a simple text file can beat Registry in storing a few pieces of application specific configuration data.
How a simple text file can beat Registry in storing a few pieces of application specific configuration data.
Resource Files Made Easy (in Delphi applications)
How Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.
How Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.
UDP vs. TCP
Everybody is quite familiar with TCP. Most do know UDP and think its an inferior protocol, as it does not ensure that the data bytes sent will arrive at the other site. Thus, UDP imposes less network overhead than TCP and gives the programmer more freedom and more labor by forcing him to deal with the security of the data transport himself.
Everybody is quite familiar with TCP. Most do know UDP and think its an inferior protocol, as it does not ensure that the data bytes sent will arrive at the other site. Thus, UDP imposes less network overhead than TCP and gives the programmer more freedom and more labor by forcing him to deal with the security of the data transport himself.
Using TClientDataSet
Looking for a single-file, single-user database for your next Delphi application? Need to store some application specific data but you do not want to user the Registry / INI / or something else?
Looking for a single-file, single-user database for your next Delphi application? Need to store some application specific data but you do not want to user the Registry / INI / or something else?
Email Course: Delphi Database Programming
Free database programming course for beginner Delphi developers. 26-day class.
Free database programming course for beginner Delphi developers. 26-day class.
Go MySQL
An overview of VCL components allowing you to access a MySQL database from Delphi using standard data controls without using BDE/ADO/ODBC. Plus a few MYSQL related tools.
An overview of VCL components allowing you to access a MySQL database from Delphi using standard data controls without using BDE/ADO/ODBC. Plus a few MYSQL related tools.
Your first MP3 Delphi player - part 1/4
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
ASP.NET Tutorial
A Beginner's Guide to ASP.NET Programming for Delphi developers. Free online programming course for Delphi .Net beginner developers. Focus on ASP.NET Web development.
A Beginner's Guide to ASP.NET Programming for Delphi developers. Free online programming course for Delphi .Net beginner developers. Focus on ASP.NET Web development.
Connecting to a database. BDE? ADO? - DB/2 - Page 4/4
Chapter two of the free Delphi database online course.
Chapter two of the free Delphi database online course.
Record (Struct) Type in Delphi
Learn about records, Delphi's data structure that can mix any of Delphi's built in types including any types you have created.
Learn about records, Delphi's data structure that can mix any of Delphi's built in types including any types you have created.
Custom Component Development
Everything about creating custom components in Delphi. The ultimate source.
Everything about creating custom components in Delphi. The ultimate source.
Big Brother Code Toolkit 1
Going undercover with Delphi: hiding from the task list, disabling task-switch, removing from the TaskBar, disabling Windows shut down, ...
Going undercover with Delphi: hiding from the task list, disabling task-switch, removing from the TaskBar, disabling Windows shut down, ...
Creating your first 'Hello World' Delphi Application - Page 1/3
An overview of application development with Delphi, including creating a simple project, writing code, compiling and running a project. Also, find out how to ask Delphi for help.
An overview of application development with Delphi, including creating a simple project, writing code, compiling and running a project. Also, find out how to ask Delphi for help.
Connecting to a database. BDE? ADO? - DB/2 - Page 3/4
Chapter two of the free Delphi database online course.
Chapter two of the free Delphi database online course.
DateTime Format for Access SQL
Fixing the "Parameter object is improperly defined. Inconsistent or incomplete information was provided" error when formatting date time values for SQL queries when using Access and Delphi.
Fixing the "Parameter object is improperly defined. Inconsistent or incomplete information was provided" error when formatting date time values for SQL queries when using Access and Delphi.
Introducing Borland Delphi - Page 2/3
A Beginners Guide to Delphi Programming: Chapter 1. What is Borland Delphi? Where to download a free version, how to install and configure it.
A Beginners Guide to Delphi Programming: Chapter 1. What is Borland Delphi? Where to download a free version, how to install and configure it.
Connecting to a database. BDE? ADO? - DB/2 - Page 2/4
Chapter two of the free Delphi database online course.
Chapter two of the free Delphi database online course.
Exporting a TreeView to XML. Populating a TreeView from XML
Here's how to store TTreeView component items to XML (preserving the Text and other properties of a tree node) and how to populate a TreeView from an XML file.
Here's how to store TTreeView component items to XML (preserving the Text and other properties of a tree node) and how to populate a TreeView from an XML file.
Delphi Tips 245 - 248
Delphi tip: Here's how to enable downloading files from the server from an asp.net (aspx) page.
Delphi tip: Here's how to enable downloading files from the server from an asp.net (aspx) page.
Accessing and managing MS Excel sheets with Delphi (Page 4/7)
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Filename Extensions in Delphi
List of the file extensions created (and used) by Delphi and what they all mean.
List of the file extensions created (and used) by Delphi and what they all mean.
Pictures inside a database - DB/3 - Page 3/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
NO GUI Delphi applications - Page 2/2
Creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. Even more: see how to capture the output of a console application in a GUI Delphi program.
Creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. Even more: see how to capture the output of a console application in a GUI Delphi program.
Run with Parameters
How to pass command-line parameters to your Delphi application and how to handle them.
How to pass command-line parameters to your Delphi application and how to handle them.
Your First MDI Delphi Project
Learn how to create a powerful 'multiple document interface' application using Delphi. A Beginner's Guide to Delphi Programming: Chapter 11.
Learn how to create a powerful 'multiple document interface' application using Delphi. A Beginner's Guide to Delphi Programming: Chapter 11.
Using Callback Functions
Simply put, a callback function is a routine in your program that Windows calls. A good example of a Windows API functions that require callback functions are enumeration functions. LEarn how to use Windows Callback in Delphi applications.
Simply put, a callback function is a routine in your program that Windows calls. A good example of a Windows API functions that require callback functions are enumeration functions. LEarn how to use Windows Callback in Delphi applications.
Virtual Key Code To Character
Windows defines special constants for each key the user can press. The virtual-key codes identify various virtual keys. In Delphi, the OnKeyDown and OnKeyUp events provide the lowest level of keyboard response. To use OnKeyDown or OnKeyUp to test for keys the user presses, you must use Virtual key codes to get the key pressed. Here's how to translate the virtual key code to the corresponding Windows character.
Windows defines special constants for each key the user can press. The virtual-key codes identify various virtual keys. In Delphi, the OnKeyDown and OnKeyUp events provide the lowest level of keyboard response. To use OnKeyDown or OnKeyUp to test for keys the user presses, you must use Virtual key codes to get the key pressed. Here's how to translate the virtual key code to the corresponding Windows character.
Using TRegistry
Some basic facts and code samples on using Delphi and the Windows Registry database.
Some basic facts and code samples on using Delphi and the Windows Registry database.
Storing and Calling an MDI Child Form from a DLL in Delphi applications
Need to modularize your application? Learn how to place a Delphi MDI child form into a dynamic link library (DLL) and how to display the child form inside an MDI parent window. Surprise: this is only possible when using run-time packages!
Need to modularize your application? Learn how to place a Delphi MDI child form into a dynamic link library (DLL) and how to display the child form inside an MDI parent window. Surprise: this is only possible when using run-time packages!
TreeView with check boxes and radio buttons
TreeView with check boxes and radio buttons. Here's how to add check boxes and radio buttons to a TTreeView Delphi component. Give your applications a more professional and smoother look.
TreeView with check boxes and radio buttons. Here's how to add check boxes and radio buttons to a TTreeView Delphi component. Give your applications a more professional and smoother look.
Hide TaskBar Button (D. 2007)
With Delphi 2007, a new property of the Application object, the MainFormOnTaskbar property controls how Windows taskbar buttons are handled by VCL. The code using SetWindowLong to change the application's window style parameters no longer works. Here's how to hide the Delphi 2007 application taskbar button.
With Delphi 2007, a new property of the Application object, the MainFormOnTaskbar property controls how Windows taskbar buttons are handled by VCL. The code using SetWindowLong to change the application's window style parameters no longer works. Here's how to hide the Delphi 2007 application taskbar button.
Use Adobe Acrobat (PDF) Fil...
Let's see how to to show an adobe acrobat (.pdf) file in a delphi application.
Let's see how to to show an adobe acrobat (.pdf) file in a delphi application.
Installing controls w. source
If you need to install a third-party Delphi component, and you only have a .PAS source file(s), follow this step-by-step tutorial and learn how to add the component into an existing package. This tutorial covers installing components in Delphi for Win32 (Delphi 7).
If you need to install a third-party Delphi component, and you only have a .PAS source file(s), follow this step-by-step tutorial and learn how to add the component into an existing package. This tutorial covers installing components in Delphi for Win32 (Delphi 7).
Accessing and managing MS Excel sheets with Delphi (Page 6/7)
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process.
NO GUI Delphi applications - Page 1/2
Creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. Even more: see how to capture the output of a console application in a GUI Delphi program.
Creating a console mode application with Delphi; a text-mode program that runs without a graphical interface. Even more: see how to capture the output of a console application in a GUI Delphi program.
Pictures inside a database - DB/3 - Page 2/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Delphi Developer Goals in 2007
A Borland Delphi Developer's New Year's Resolutions for 2007. To help you prepare for the whole new year, here are some ideas to help you decide on the Delphi programming related topics you might want to learn about.
A Borland Delphi Developer's New Year's Resolutions for 2007. To help you prepare for the whole new year, here are some ideas to help you decide on the Delphi programming related topics you might want to learn about.
Delphi: "File Of Type"
Working with binary files from Delphi. Use Delphi to manage writing, reading and updating your own types of files.
Working with binary files from Delphi. Use Delphi to manage writing, reading and updating your own types of files.
Searching for Files / Folders
Stop. This is the one and only solution to file searching. Use Delphi to find any file in any directory and/or subdirectory that match a certain mask. Start searching.
Stop. This is the one and only solution to file searching. Use Delphi to find any file in any directory and/or subdirectory that match a certain mask. Start searching.
A journey through the Delphi IDE - Page 1/2
A quick journey through the main parts and tools of the Delphi integrated development environment.
A quick journey through the main parts and tools of the Delphi integrated development environment.
Master-detail relationships with ADO and Delphi - DB Course/Chapter 12 - Page 1/3
Chapter twelve of the free Delphi Database Course for beginners. How to use parent-child database relationships to deal effectively with the problem of joining two database tables to present information.
Chapter twelve of the free Delphi Database Course for beginners. How to use parent-child database relationships to deal effectively with the problem of joining two database tables to present information.
Guide to dbExpress
One of data connectivity options in Delphi is dbExpress. This articles provides an overview of dbExpress along with a collection of tutorials and articles on building database applications using this light-weight, cross-platform data access technology.
One of data connectivity options in Delphi is dbExpress. This articles provides an overview of dbExpress along with a collection of tutorials and articles on building database applications using this light-weight, cross-platform data access technology.
Delphi Tips 261- 264
Delphi tip: Delphi applications that use BDE for database access require that you distribute the BDE with the application. Here's how to install the BDE on a client machine using an install program or manually.
Delphi tip: Delphi applications that use BDE for database access require that you distribute the BDE with the application. Here's how to install the BDE on a client machine using an install program or manually.
Tetris - Delphi Game Sources
Tetris is a popular "falling-blocks puzzle" single-player computer game originally developed in 1985/86. The object of the game is to manipulate "tetraminoes" (composed of four square blocks each) by moving each one sideways and rotating it by 90 degree. Here's a Delphi version with sources.
Tetris is a popular "falling-blocks puzzle" single-player computer game originally developed in 1985/86. The object of the game is to manipulate "tetraminoes" (composed of four square blocks each) by moving each one sideways and rotating it by 90 degree. Here's a Delphi version with sources.
Chat application with Delphi source
Full Delphi source code to a simple Chat application. Learn how UDP (User Datagram Protocol) broadcast can be used to find partners with unknown IP addresses in the network.
Full Delphi source code to a simple Chat application. Learn how UDP (User Datagram Protocol) broadcast can be used to find partners with unknown IP addresses in the network.
Delphi Programming Tips 13 ...
Delphi tip: Using the RunOnce Registry Key
Delphi tip: Using the RunOnce Registry Key
Borland Delphi 7 Studio
Borland Delphi 7 Studio: Released! Extra, Extra, read all about it! All about NEW features in the next generation design-to-deploy e-business development tool: Borland Delphi 7 Studio.
Borland Delphi 7 Studio: Released! Extra, Extra, read all about it! All about NEW features in the next generation design-to-deploy e-business development tool: Borland Delphi 7 Studio.
For, Repeat & While in Delphi
Loops allow you to execute a sequence of statements repeatedly, using a control condition or variable to determine when the execution stops. Delphi has three kinds of control loop: repeat statements, while statements, and for statements. Learn how to use loops in Delphi programming.
Loops allow you to execute a sequence of statements repeatedly, using a control condition or variable to determine when the execution stops. Delphi has three kinds of control loop: repeat statements, while statements, and for statements. Learn how to use loops in Delphi programming.
Free Screen Ruler (with full Delphi source code)
Screen RULER allows you to precisely measure anything on your screen. If you need to determine width and/or height of any object on your screen, Screen RULER is the tool to use. Transparency, units in pixels and millimeters and screen snapping are some of the features.
Screen RULER allows you to precisely measure anything on your screen. If you need to determine width and/or height of any object on your screen, Screen RULER is the tool to use. Transparency, units in pixels and millimeters and screen snapping are some of the features.
My IP with Delphi
How to obtain a computer's IP address by using the Socket API and Delphi's Pascal.
How to obtain a computer's IP address by using the Socket API and Delphi's Pascal.
Handling Errors and Exceptions
Unfortunately, building applications includes coding. Regardless of how carefully you write/debug your program, it will be impossible to imagine every situation that can go wrong. Learn how to handle errors and exceptions in Delphi applications.
Unfortunately, building applications includes coding. Regardless of how carefully you write/debug your program, it will be impossible to imagine every situation that can go wrong. Learn how to handle errors and exceptions in Delphi applications.
Base Conversions
Borland Delphi functions for converting Int to Bin, Int to Hex, Int to Roman and vice versa.
Borland Delphi functions for converting Int to Bin, Int to Hex, Int to Roman and vice versa.
Understanding Class Methods
Understanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.
Understanding and using Borland Delphi Class procedures / functions. What they are and how to find a practical use for them.
A more powerful Delphi Form - page 1/2
Messing with the creation process of a form object, or how to change the default style of a window when it gets created to suit your particular needs. Transparent forms, no caption forms, realy StayOnTop forms, ...
Messing with the creation process of a form object, or how to change the default style of a window when it gets created to suit your particular needs. Transparent forms, no caption forms, realy StayOnTop forms, ...
TColorButton - button with color properties
TColorButton - button with color properties. Full source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color, background color and mouse over color properties.
TColorButton - button with color properties. Full source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color, background color and mouse over color properties.
Creating Shortcuts (.lnk)
Creating a standard Windows shortcut file from Delphi.
Creating a standard Windows shortcut file from Delphi.
Mouse Hook - System Wide
Learn how to track the mouse activity even when your application is not active, sits in the Tray or does not have any UI at all. By installing a system wide (or global) mouse hook you can track what the user is doing with the mouse and act accordingly.
Learn how to track the mouse activity even when your application is not active, sits in the Tray or does not have any UI at all. By installing a system wide (or global) mouse hook you can track what the user is doing with the mouse and act accordingly.
Examining Control-Passing ASP.NET Web Controls: Button, ImageButton and LinkButton
Examining Control-Passing ASP.NET Web Controls. There are several web controls that enable passing of control back to the Web Server. This chapter explores web buttons - specific components that allow users to indicate that they are finished with the Web Form (post the data) or want to perform a particular command (on the server). Learn about ASP.NET's Button, LinkButton and ImageButton web controls.
Examining Control-Passing ASP.NET Web Controls. There are several web controls that enable passing of control back to the Web Server. This chapter explores web buttons - specific components that allow users to indicate that they are finished with the Web Form (post the data) or want to perform a particular command (on the server). Learn about ASP.NET's Button, LinkButton and ImageButton web controls.
Variable Scope (Delphi For Beginners)
Delphi For Beginners: Object Pascal Variable Scope.
Delphi For Beginners: Object Pascal Variable Scope.
Your first MP3 Delphi player - part 3/4
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
An introduction to server-side HTML controls and HTML tags in ASP.NET applications
Taking a look at the use of standard HTML tags and elements and the use of server-side HTML controls - from a perspective of a Delphi developer.
Taking a look at the use of standard HTML tags and elements and the use of server-side HTML controls - from a perspective of a Delphi developer.
Monitoring System Shell Changes using Delphi - page 1/3
Monitoring System Shell Changes using Delphi. Wanna get notified when a file gets created, renamed or deleted on the system? Need to know the exact folder and file name? Let's start monitoring system shell changes! What a great extension to your
Monitoring System Shell Changes using Delphi. Wanna get notified when a file gets created, renamed or deleted on the system? Need to know the exact folder and file name? Let's start monitoring system shell changes! What a great extension to your
Delphi Tips 133 - 136
Delphi tis: Get computer name, Get Windows user name
Delphi tis: Get computer name, Get Windows user name
Enter key := Tab key
Pressing the Tab key moves the input focus to next control and Shift-Tab to previous in the tab order of the form. When working with Windows applications, most users intuitively expect the Enter key to behave like a Tab key.
Pressing the Tab key moves the input focus to next control and Shift-Tab to previous in the tab order of the form. When working with Windows applications, most users intuitively expect the Enter key to behave like a Tab key.
Drop down list (DBLookupComboBox) inside a DBGrid - part 2 (Page 1/2)
Drop down list (DBLookupComboBox) inside a DBGrid - part 2. Here's how to place a DBLookupComboBox into a DBGrid. Create visually more attractive user interfaces for editing lookup fields inside a DBGrid - place a DBLookupComboBox into a cell of a DBGrid.
Drop down list (DBLookupComboBox) inside a DBGrid - part 2. Here's how to place a DBLookupComboBox into a DBGrid. Create visually more attractive user interfaces for editing lookup fields inside a DBGrid - place a DBLookupComboBox into a cell of a DBGrid.
Project Files (.DPR)
Delphi organizes applications into what is called projects. A project is made up of the visual interface along with the code that activates the interface. Each project can have multiple forms, allowing us to build applications that have multiple windows. Find out about Delphi's Project File in this article!
Delphi organizes applications into what is called projects. A project is made up of the visual interface along with the code that activates the interface. Each project can have multiple forms, allowing us to build applications that have multiple windows. Find out about Delphi's Project File in this article!
Creating Components at RunTime
Most often when programming in Delphi you don't need to dynamically create a component. If you drop a component on a form, Delphi handles the component creation automatically when the form is created. This article will cover the correct way to programmatically create components at run-time.
Most often when programming in Delphi you don't need to dynamically create a component. If you drop a component on a form, Delphi handles the component creation automatically when the form is created. This article will cover the correct way to programmatically create components at run-time.
ADO + mySQL ConnectionString
If your database choice is mySQL and you are using dbGO (ADO) components, over the mySQL ODBC 3.51 driver, this is how your TADOConnection's ConnectionString property should look ...
If your database choice is mySQL and you are using dbGO (ADO) components, over the mySQL ODBC 3.51 driver, this is how your TADOConnection's ConnectionString property should look ...
Advanced Mouse Processing
More sophisticated Mouse techniques. Is mouse Present? Handling OnMouseEnter, OnMouseLeave. Restrict movement, Set Position, Faking clicks, etc.
More sophisticated Mouse techniques. Is mouse Present? Handling OnMouseEnter, OnMouseLeave. Restrict movement, Set Position, Faking clicks, etc.
Initialize Constant Arrays
Sometimes you need to declare a constant array in Delphi - a read-only array. You cannot change the value of a constant or a read-only variable. Therefore, while declaring a constant array you have to initialize it. Here are a few examples of declaring and initializing constant arrays in Delphi...
Sometimes you need to declare a constant array in Delphi - a read-only array. You cannot change the value of a constant or a read-only variable. Therefore, while declaring a constant array you have to initialize it. Here are a few examples of declaring and initializing constant arrays in Delphi...
Pictures inside a database - DB/3 - Page 4/5
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
Chapter three of the free Delphi database online course. Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi.
RGB To HSB (HSV)
Here's a function to convert a RGB color value to a HSV color using Delphi.
Here's a function to convert a RGB color value to a HSV color using Delphi.
Pos function
Delphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.
Delphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.
MDI Development in Delphi. Part I.
Constructing 'multiple document interface' application with Delphi. Examining MDI parent/child relationship, menus and some most important MDI parent form properties.
Constructing 'multiple document interface' application with Delphi. Examining MDI parent/child relationship, menus and some most important MDI parent form properties.
Drop down list inside a DBGrid - part 1 (page 1/2)
Drop down list inside a DBGrid - part 1. Here's how to place a drop down pick list into a DBGrid. Create visually more attractive user interfaces for editing lookup fields inside a DBGrid - using the PickList property of a DBGrid column.
Drop down list inside a DBGrid - part 1. Here's how to place a drop down pick list into a DBGrid. Create visually more attractive user interfaces for editing lookup fields inside a DBGrid - using the PickList property of a DBGrid column.
Your first MP3 Delphi player - part 2/4
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
See how to build a full-blown mp3 player with Delphi in just a few seconds. Even more: get the ID3 tag information from a mp3 file and change it!
Memory Leak Fix Tools
Looking for a tool to catch Delphi application errors such as memory corruption, memory leaks, memory allocation errors, variable initialization errors, variable definition conflicts, pointer errors. Look no more.
Looking for a tool to catch Delphi application errors such as memory corruption, memory leaks, memory allocation errors, variable initialization errors, variable definition conflicts, pointer errors. Look no more.
New...Access Database from Delphi - DB Course/Chapter 13 - Page 1/2
Chapter thirteen of the free Delphi Database Course for beginners. How to create an MS Access database without the MS Access. How to create a table, add an index to an existing table, how to join two tables and set up referential integrity. No MS Access, only Pure Delphi code.
Chapter thirteen of the free Delphi Database Course for beginners. How to create an MS Access database without the MS Access. How to create a table, add an index to an existing table, how to join two tables and set up referential integrity. No MS Access, only Pure Delphi code.
Creating your first 'Hello World' Delphi Application - Page 2/3
An overview of application development with Delphi, including creating a simple project, writing code, compiling and running a project. Also, find out how to ask Delphi for help.
An overview of application development with Delphi, including creating a simple project, writing code, compiling and running a project. Also, find out how to ask Delphi for help.
Delphi Tips 105 - 108
Delphi tip: Create an Auto-Run CD
Delphi tip: Create an Auto-Run CD
Delphi Tips 217 - 220
Delphi tip: Controling DLL loading and unloading
Delphi tip: Controling DLL loading and unloading
Data Browsing and Navigation
How to create a Delphi form which can be used to browse through the records of a database table. Learn about TDataset, DBGrid, fields, DBNavigator ...
How to create a Delphi form which can be used to browse through the records of a database table. Learn about TDataset, DBGrid, fields, DBNavigator ...
Adjusting DBGrid column widths automatically
Adjusting Delphi's DBGrid column widths automatically. Here's a handy method to automatically fix the size of TDBGrid columns (at run-time) to fit the DBGrid width (remove the unfilled space at the right edge of the grid; and consequently remove the horizontal scroll bar) when the user resizes the container containing the grid.
Adjusting Delphi's DBGrid column widths automatically. Here's a handy method to automatically fix the size of TDBGrid columns (at run-time) to fit the DBGrid width (remove the unfilled space at the right edge of the grid; and consequently remove the horizontal scroll bar) when the user resizes the container containing the grid.
