SCIROCCO Software Development, Database Design, Downloads and Consulting  
SCIROCCO HomeHome ServicesServices DownloadsDownloads Careers at SCIROCCOCareers Tell A FriendTell a Friend Contact SCIROCCOContact


 
Properties and Methods for the SCIROCCO RegEdit Control 1.0
(If you have any questions or need help using the control please contact . It will be our pleasure to assist you.)


Properties Methods

Registry
HKEY
KeyData
KeyName
KeyPath
KeyType
Misc
Version

Registry
RegistryDelete
RegistrySet
RegistryGet
Misc
About


Registry Properties

HKEY

Returns or sets the handle to the registry's root key. The root key can be any one of the following values:

HKEY (Root key name)

Description

HKEY_LOCAL_MACHINE

Contains information about the local computer system, including hardware and operating system data such as bus type, system memory, device drivers, and startup control data.

HKEY_CLASSES_ROOT

Contains the associations between applications and file types (by filename extension). It also contains object linking and embedding (OLE) Registry information associated with COM objects, and file-class association data (equivalent to the Registry in Windows for MS-DOS). The entries in this subtree are the same as in HKEY_LOCAL_MACHINE\Software\Classes.

HKEY_CURRENT_CONFIG

Contains configuration data for the current hardware profile. Hardware profiles are sets of changes to the standard configuration of services and devices established by data in the Software and System keys under HKEY_LOCAL_MACHINE. Only the changes appear in HKEY_CURRENT_CONFIG.

HKEY_CURRENT_USER

Contains the user profile for the user who is logged on, including environment variables, desktop settings, network connections, printers, and application preferences.

HKEY_USERS

Contains all actively loaded user profiles, including HKEY_CURRENT_USER, and the default profile. Users who are accessing a server remotely do not have profiles under this key on the server; their profiles are loaded into the Registry on their own computers.

Return to Top
KeyData

The value retrieved when using the RegistryGet method is stored in the KeyData property.

Return to Top
KeyName

Returns or sets the name of the key used by the three registry methods of the control.

Return to Top
KeyPath

Returns or sets the path of the key used by the three registry methods of the control.

Return to Top
KeyType

A registry value can store data in various formats. When you store data under a registry value you can specify one of the following values to indicate the type of data being stored. When you retrieve a registry value the KeyType stores the type of data retrieved.

Value Meaning
REG_BINARY Binary data in any form.
REG_DWORD A 32-bit number.
REG_DWORD_LITTLE_ENDIAN A 32-bit number in little-endian format. This is equivalent to REG_DWORD.

In little-endian format, a multi-byte value is stored in memory from the lowest byte (the "little end") to the highest byte. For example, the value 0x12345678 is stored as (0x78 0x56 0x34 0x12) in little-endian format.

Windows NT/Windows 2000, Windows 95, and Windows 98 are designed to run on little-endian computer architectures. A user may connect to computers that have big-endian architectures, such as some UNIX systems.

REG_DWORD_BIG_ENDIAN A 32-bit number in big-endian format.

In big-endian format, a multi-byte value is stored in memory from the highest byte (the "big end") to the lowest byte. For example, the value 0x12345678 is stored as (0x12 0x34 0x56 0x78) in big-endian format.

REG_EXPAND_SZ A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string depending on whether you use the Unicode or ANSI functions.
REG_LINK A Unicode symbolic link. Used internally; applications should not use this type.
REG_MULTI_SZ An array of null-terminated strings, terminated by two null characters.
REG_NONE No defined value type.
REG_QWORD A 64-bit number.
REG_QWORD_LITTLE_ENDIAN A 64-bit number in little-endian format. This is equivalent to REG_QWORD.
REG_RESOURCE_LIST A device-driver resource list.
REG_SZ A null-terminated string. It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions.
Return to Top

Misc Properties

Version

Returns the version of the control.

Return to Top

Registry Methods

RegistryDelete

Deletes the value and key the value located in HKEY / KeyPath / KeyName.

Syntax

SCIROCCORegEditControl.RegistryGet()

Return to Top
RegistryGet

Returns the value located in HKEY / KeyPath / KeyName. The value returned is stored in the KeyData property.

Syntax

SCIROCCORegEditControl.RegistryGet()

Return to Top
RegistrySet (RegistryValue)

Sets the value of the KeyName located in HKEY / KeyPath / KeyName.

The RegistrySet method syntax has these parts.

Part Description
RegistryValue The value that you want to store in the registry.

Return to Top

Misc Methods

About

Displays the About Screen.

Syntax

SCIROCCORegEditControl.About()

Return to Top



SPONSORED LINKS



SCIROCCO HomeHome ServicesServices DownloadsDownloads Careers at SCIROCCOCareers Tell A FriendTell a Friend Contact SCIROCCOContact Legal InformationLegal


Copyright 2003-2004 ©  . All rights reserved.