Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> Delphi & Kylix -> Latest articles Adds this page to your personal favorites
 
  Latest articles in this zone

Latest files
Latest links
Latest articles

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.
Visits: 529 Updated: 2006-12-13  Rating: (Not Rated)  More info & Ratings
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.
Visits: 269 Updated: 2006-12-13  Rating: (Not Rated)  More info & Ratings
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.
Visits: 1356 Updated: 2006-12-13  Rating: (Not Rated)  More info & Ratings
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
Visits: 1249 Updated: 2006-12-13  Rating: (Not Rated)  More info & Ratings
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.
Visits: 1037 Updated: 2006-12-13  Rating: (Not Rated)  More info & Ratings
Using the Windows registry to create professional business applications in Delphi
Using the Windows registry to create professional business applications in Delphi. Reading and writing Key values, creating a registry class interface, and best practices for designing a safe, robust registry solution.
Visits: 703 Updated: 2006-12-13  Rating: (Not Rated)  More info & Ratings
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.
Visits: 8120 Updated: 2006-11-27  Rating: (Not Rated)  More info & Ratings
Object Pascal (Delphi) Templates
This article describes a way to create C++ like templates for Delphi / Object Pascal using just include files and inheritance.
Visits: 1115 Updated: 2005-11-6  Rating: (Not Rated)  More info & Ratings
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.
Visits: 1205 Updated: 2005-10-26  Rating: (Not Rated)  More info & Ratings
Using freeware InpOut32.dll from Delphi
Use the freeware DLL called InpOut32 to access parallel port, serial port, etc, from your Dephi program. This article tells you how, with sourcecode.
Visits: 4142 Updated: 2005-4-15  Rating: (Not Rated)  More info & Ratings
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!
Visits: 1083 Updated: 2005-4-15  Rating: (Not Rated)  More info & Ratings
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.
Visits: 828 Updated: 2005-4-15  Rating: (Not Rated)  More info & Ratings
How to call JavaScript functions in a TWebBrowser from Delphi
Sometimes it is necessary to call JavaScript function embedded within a document displayed in a TWebBrowser control. Here's how.
Visits: 2558 Updated: 2005-3-5  Rating: (Not Rated)  More info & Ratings
How to extract version information using the Windows API
Excutable files can contain a resource containing version information. The Windows API provides tools for extracting the information. Here's how to use it.
Visits: 1067 Updated: 2005-2-25  Rating: (Not Rated)  More info & Ratings
How to make a TWebBrowser become the active control when clicked
When you click inside a TWebBrowser control, it does not become the active control, unlike other controls. This article shows how to detect clicks in the control and make it the form's active control.
Visits: 934 Updated: 2005-1-24  Rating: (Not Rated)  More info & Ratings
Painting a Rich Edit control onto a bitmap for preview
This Delphi source code shows how to display a print preview of the contents of a RichEdit
Visits: 1016 Updated: 2004-12-31  Rating: (Not Rated)  More info & Ratings
Implementing Shell Search Handler in Delphi
This Delphi tutorial example code shows how to write a Shell Search by Implementing IShellExtInit and IContextMenu
Visits: 709 Updated: 2004-12-31  Rating: 
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
Visits: 1686 Updated: 2004-12-11  Rating: (Not Rated)  More info & Ratings
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.
Visits: 1417 Updated: 2004-12-6  Rating: (Not Rated)  More info & Ratings
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.
Visits: 729 Updated: 2004-11-28  Rating: (Not Rated)  More info & Ratings
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.
Visits: 1089 Updated: 2004-11-17  Rating: (Not Rated)  More info & Ratings
Implementing a Splash Screen
Step by step instructions on the reasons and the HowTos of Splash Screens
Visits: 1624 Updated: 2004-11-8  Rating: 
Adding Additional Functionality to TButton
Shows how to expand the existing component TButton with more properties, including multiple lines
Visits: 803 Updated: 2004-11-8  Rating: (Not Rated)  More info & Ratings
Adding an onEnterEvent
Simple instructions on creating a new component with an onEnter and OnExit event
Visits: 697 Updated: 2004-11-8  Rating: (Not Rated)  More info & Ratings
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
Visits: 844 Updated: 2004-11-8  Rating: (Not Rated)  More info & Ratings

Did you know that...
You can sign up to receive the Programmers Heaven newsletter here?
 

Sponsored Links 
Check For Updates
Easily add update features to your applications. A complete .Net updating solution.
Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.
.Net Localization Tool Sisulizer
Localize your .Net apps: ResX and assemblies. Database, XML & HTML Help localization. Try Sisulizer!
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.
Web based bug tracking - AdminiTrack.com
AdminiTrack offers an effective web-based bug tracking system designed for professional software development teams.
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
Embedded Systems Programming is a monthly magazine for engineers, programmers, and project
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by .NET konsult - Synchron Data.