How to encrypt, decrypt strings and files in your Delphi applications
Encryption is becoming ever more popular in today's applications. Developers must have a good understanding of the methods used to secure their applications including any sensitive data. As most developers will tell you, Delphi straight out of the box provides the developer with very little encryption components or classes. Instead developers tend to opt for 3rd party components which are tailored to the exact needs. In this article we are going to use an excellent Open Source library called 'DCPcrypt Cryptographic Component Library'.
In this article we cover how to install DCPcrypt Cryptographic Component Library (open source), how to call methods for encrypting and decrypting strings, and finally we will take a look at the advanced topic of encrypting files. Our examples relate to applications written in Delphi (5) or similar. For our examples we assume you already have a basic understanding of Delphi but only a limited understanding of encryption components and techniques.
 |
|
 |
|
Creating and using Lookup forms in Delphi to maintain a compact and tidy user experience
In today's times Lookup forms are ideal for applications that need a compact and tidy way to present the user with a search & selection type screen. A simple example is the Windows 'Open File' dialog box which pops up in front of the current screen and remains 'on top' until a file is selected or the dialog is closed. In Delphi you too have the option to use the standard Windows dialogs such as PageSetup dialog, OpenFile dialog etc.. In this article we create our own type of dialog which we refer to as a 'Lookup form'. A common situation for a Lookup is if you want your users to perform a database search to find a specific Customer and then return the selected customer details to the calling form. This is just an example and there are many, many ways you can use Lookup forms to create modern applications using Delphi.
 |
|
 |
|
How to use Outlook (OLE, COM) to perform common operations such as sending Emails
This article covers one of the most useful features for any Delphi application which is commonly overlooked. Microsoft Outlook provides Delphi developers with a COM interface (outlook2000.pas, outlook2003.pas) that contains literally 1000's of classes, methods and properties essential to any business application
This article covers; calling the COM interface, starting Outlook, creating a mail item, editing mail item details, sending the mail item. Article also touches upon some of the other important aspects of sending mails using Outlook from Delphi. Demo application can be downloaded (Delphi 5) Examples reference Outlook 2000 but can be used in all major versions including Outlook 2003.
 |
|
 |
|
How to use Excel automation (OLE, COM) to create and manipulate Excel documents using Delphi
As most people know Excel is the worlds best loved spreadsheet software, included in every installation of Microsoft Office it is a monster! At Accelerated Ideas we understand that this monster is a serious ally to any business software product, and you should too!
This article covers calling the COM interface, starting Excel, opening an Excel spreadsheet document, writing to cells, setting fonts, adjusting column widths, formatting cells, saving Excel files. Examples are in Excel 2000 and can be used in all major versions including Excel 2003
 |
|
 |
|
How to use Word automation to create and manipulate Word documents using Delphi
Users of Visual Studio.NET will know the importance of cross application support between your business application and Microsoft's office products. Providing your end users with Excel exports or Word reporting can change your software from neat to professional in a matter of minutes.
This article covers calling the COM interface (OLE), starting Word, opening a Word document, writing text, setting fonts, formatting text, saving Word files. Examples are in Word 2000 and can be used in all major versions including Word 2003.
 |
|
 |
|
|
|
Secure Programming
The article describes how to create better programming code.
The article tries to teach what are the three most common programming mistakes, and try to explain how developers can find ways to solve such problems.
 |
|
 |
|
|
|
Creating an Email Client with Borland Delphi
If you have ever wanted to send email messages from your Delphi application, this article is for you. Jacques Noah explains how to use the open source Indy suite to set up an full fledged Mail Client.
 |
|
 |
|
|
|
Delphi Course: From the ground up
A series of lessons designed to speed your mastery of Delphi. Many hands on exercises.
The first lesson assumes you've never used Delphi; subsequent lessons build on things covered in earlier lessons. Reading the lessons in the sequence they appear in the table of contents will help you.
Enjoy!
 |
|
 |
|
DLLs: Using or Writing them with Delphi
A hands on introduction for intermediate Delphi programmers. Part of a collection of 50 tutorials. Optional extension: Using the InpOut32.dll (freeware) to access system ports.
 |
|
 |
|
|
|
|
|
|
|
|
|
|
|
The Lexi Editor
The Delphi source code of the Gang Of Four Lexi document editor. Presentation, UML diagrams and full source code. Composite, Decorator, Iterator, Visitor, Strategy and Command
 |
|
 |
|
How to customise the TWebBrowser user interface
When we use TWebBroswer we often want to change the way it appears and acts to fit in to our application's look and feel. Here's how to override the IE context menu, change the border style, show or hide scroll bars and style the content without changing the HTML document.
 |
|
 |
|
How to set a component's default event handler
When you double click many components at design time Delphi
creates an empty event handler for the default event. Sometimes
you need to specify a different default event than that used by
Delphi. Here's how.
 |
|
 |
|
Implementing Callback Procedures
This article explains what is a CallBack procedure and how to
implement one. The sample shows how to use them to perform
different functions on files in a directory.
 |
|
 |
|
Implementing a Splash Screen
Step by step instructions on the reasons and the HowTos of Splash Screens
 |
Visits: 1624 Updated: 2004-11-8 Rating: | |
 |
|
|
|
|
|
Creating Controls at Run Time
This tutorial is geared towards beginners, and shows how create buttons at runtime and have them respond to the OnClick event
 |
|
 |
|