Delphi - Knowledge Base Home  About Us  .Net  Solutions  Microsoft  Extras  Contact Us  Freeware  

Topics

Our Delphi article links are shown below. Simply click a link to get started..
 
Delphi Home
Link to this page



Popular Articles

1. Registry walk through & best practice

2. Using the Microsoft Word COM interface

3. Using the Microsoft Excel COM interface

4. Creating & Using Lookup Forms in Delphi

5. Using encryption in your applications

6. Creating and using splash screens in Delphi

7. Using Dev Express to mimic .NET & XP Styles

8. Using the Microsoft Outlook COM interface


  





Delphi - Registry (1)

The Windows registry can be thought of as a global database available to all applications running under Windows. The registry is huge and supports data storage in a variety of formats.

As many people know the registry is open to all sorts of malicious applications whose aim is to bring down firewall and antivirus defences at will. We encourage users to learn and respect the powerful tool that is the registry.

For business applications the registry is an essential part in creating a friendly user interface. By using the registry we can encourage our users to configure certain menu features, application colours, panel positions and more. You should also aim to manage certain application features without the users interaction such as the last position of screens, last login name and the column arrangement in grids. For a professional application you should look to achieve both sets of registry features.
        
Before we look at the code required to read or write to the registry we will look at the structure of the registry. To open the registry click the START MENU and select RUN then simply type regedit and press return.

The registry is different depending on the version of Windows you are running. However each version contains two common folders:

HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE





Next (Page 2)

Featured

Other popular Delphi resources. Why not try them for yourself?



                   


    

Extras Microsoft Practice Exams Software Directory Music Tracks Net Components Windows Process
Web Hosting Delphi Amiga Games Processos de Windows Braindumps
Buy Products Latest Reviews Absolute Adsense Free Web Templates

  Home  Links  About Us
Copyright © Accelerated Ideas 2005-2008
All rights reserved.


Delphi Knowledge Base. Best practices, walkthroughs, tutorials, component advice and more. Solutions and professional designs for Delphi 4, Delphi 5, Delphi 6 and Delphi, 7. Word COM, Excel COM, Outlook COM including code examples for Word OLE, Excel OLE and Outlook OLE. Automating Outlook to create MailItem and send attachments in Delphi. ActiveX, Com. ADO Data Architecture, TMS component pack walk through and code examples. Using Developer Express and example walkthroughs. Date & time conversion routines, video playback and frame manipulation. COM articles, papers, tips, techniques and hints. How to create Word reports and excel spreadsheets using Delphi code and OLE automation. Understanding Delphi encryption and using ciphers, with source code examples of Blowfish, Twofish, and Rijndael. Securing application data and confidential information using open source encryption components. Free encryption dll component. Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with Delphi automation. Accessing and managing MS Word documents with Delphi. How to retrieve, display and edit Microsoft Word documents using Delphi automation. Read and write Excel spreadsheets using Delphi code. How to read and write registry entries using Delphi code. Source code examples using Delphi 5, Delphi 6 and Delphi 7. Working with VCL Developer Express components. How to apply grid styles and themes to Delphi applications. Using image columns and shading to improve the grid and treeview appearances. Including examples from ExpressQuantumPack, for Delphi, ExpressPack for Delphi. Developer guides for Developer Express components. All our articles are written by our senior Delphi professionals to help you get the best from your legacy Delphi applications