|
|
|
|
RegistryExist (Function) In french: RegistreExiste Checks the existence of a key in the Windows registry. // Checks the existence of the "HKEY_LOCAL_MACHINE\SOFTWARE\MyApp" key ResExist = RegistryExist("HKEY_LOCAL_MACHINE\SOFTWARE\MyApp")
Syntax
Checking the existence of a key or key value Hide the details
<Result> = RegistryExist([<Access mode>, ] <Key path> [, <Value name>])
<Result>: Boolean - True if the specified key or value exists,
- False otherwise.
<Access mode>: Integer constant Registry access mode:
| | registryMode32 | Forced mode to access the registry as a 32-bit program. | registryMode64 | Forced mode to access the registry as a 64-bit program. | registryModeAuto (Default value) | Automatic registry access mode: - a 32-bit application running on a 32-bit system manipulates the registry as a 32-bit program.
- a 32-bit application running on a 64-bit system manipulates the registry from the following branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node - a 64-bit application running on a 64-bit system manipulates the registry as a 64-bit program.
|
<Key path>: Character string Path of key to check. <Value name>: Optional character string Name of value to check. If this parameter is not specified, the value checked will be the "<Default>" value. To check the "<Default>" value, <Value name> must be "0".
Checking the existence of a key value identified by its index Hide the details
<Result> = RegistryExist([<Access mode>, ] <Key path> , <Value index>)
<Result>: Boolean - True if the specified value exists,
- False otherwise.
<Access mode>: Integer constant Registry access mode:
| | registryMode32 | Forced mode to access the registry as a 32-bit program. | registryMode64 | Forced mode to access the registry as a 64-bit program. | registryModeAuto (Default value) | Automatic registry access mode: - a 32-bit application running on a 32-bit system manipulates the registry as a 32-bit program.
- a 32-bit application running on a 64-bit system manipulates the registry from the following branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node - a 64-bit application running on a 64-bit system manipulates the registry as a 64-bit program.
|
<Key path>: Character string Path of key to check. <Value index>: Integer Index of the value to be checked. If this parameter is not specified, the value checked will be the "<Default>" value. To check the "<Default>" value, <Value index> must be "0". Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|