Namespace: Consultingwerk.Framework
Class 
Registry Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:Registry
Purpose:Provides access to the Windows Registry
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed May 21 14:42:55 CEST 2008
Notes:This file is intended for GUI for .NET only
Purpose: Constructor for the Registry class
Notes: Disallow instance creation



Top Method Summary
Options Name Purpose
+ DeleteRegistryKey (character, character) Deletes a single key (and all child keys) from the windows registry
+ DeleteRegistryValue (character, character, character) Deletes a single value from the windows registry
+ Microsoft.Win32.RegistryKey FindRegistry (character) Locates a root registry key
+ Microsoft.Win32.RegistryKey FindRegistryKey (character, character) Locates a RegistryKey
+ Microsoft.Win32.RegistryKey FindRegistryKeyReadOnly (character, character) Locates a RegistryKey for read only access
+ LONGCHAR GetRegistryValue (character, character, character) Returns a windows registry value
+ SetRegistryValue (character, character, character, longchar) Sets a value in the windows registry

Top Constructor Summary
Options Name Purpose
- Registry () Constructor for the Registry class


Method Detail
Top

PUBLIC DeleteRegistryKey (character, character)

Purpose: Deletes a single key (and all child keys) from the windows registry
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
pcSubKey CHARACTER
The registry sub key
Top

PUBLIC DeleteRegistryValue (character, character, character)

Purpose: Deletes a single value from the windows registry
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
pcSubKey CHARACTER
The registry sub key
pcProperty CHARACTER
The property name
Top

PUBLIC Microsoft.Win32.RegistryKey FindRegistry (character)

Purpose: Locates a root registry key
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
Returns Microsoft.Win32.RegistryKey
The specified RegistryKey
Top

PUBLIC Microsoft.Win32.RegistryKey FindRegistryKey (character, character)

Purpose: Locates a RegistryKey
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
pcSubKey CHARACTER
The registry sub key
Returns Microsoft.Win32.RegistryKey
The specified RegistryKey
Top

PUBLIC Microsoft.Win32.RegistryKey FindRegistryKeyReadOnly (character, character)

Purpose: Locates a RegistryKey for read only access
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
pcSubKey CHARACTER
The registry sub key
Returns Microsoft.Win32.RegistryKey
The specified RegistryKey
Top

PUBLIC LONGCHAR GetRegistryValue (character, character, character)

Purpose: Returns a windows registry value
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
pcSubKey CHARACTER
The registry sub key
pcProperty CHARACTER
The property name
Returns LONGCHAR
The registry value
Top

PUBLIC SetRegistryValue (character, character, character, longchar)

Purpose: Sets a value in the windows registry
Notes:

Parameters:
pcRegistryKey CHARACTER
The registry key
pcSubKey CHARACTER
The registry sub key
pcProperty CHARACTER
The property name
pcValue LONGCHAR
The property value to set


Constructor Detail
Top

PRIVATE Registry ()

Purpose: Constructor for the Registry class
Notes: Disallow instance creation



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:10