PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Seeks a character string in the registry.
Example
// Retrieve all the "FullScreen" values
// of the "HKEY_CURRENT_USER\Console" key
Key is string = "HKEY_CURRENT_USER\Console"
WHILE Key <> ""
Key = RegistrySeek(Key, "FullScreen")
Info(Key)
END
Versions 27 and later
// Retrieve all the "FullScreen" values
// of the "HKEY_CURRENT_USER\Console" key
// Forced "64-bit application" access mode
Key is string = "HKEY_CURRENT_USER\Console"
WHILE Key <> ""
Key = RegistrySeek(registryMode64, Key, "FullScreen")
Info(Key)
END
New in version 27
// Retrieve all the "FullScreen" values
// of the "HKEY_CURRENT_USER\Console" key
// Forced "64-bit application" access mode
Key is string = "HKEY_CURRENT_USER\Console"
WHILE Key <> ""
Key = RegistrySeek(registryMode64, Key, "FullScreen")
Info(Key)
END
// Retrieve all the "FullScreen" values
// of the "HKEY_CURRENT_USER\Console" key
// Forced "64-bit application" access mode
Key is string = "HKEY_CURRENT_USER\Console"
WHILE Key <> ""
Key = RegistrySeek(registryMode64, Key, "FullScreen")
Info(Key)
END
Syntax
<Result> = RegistrySeek([<Access mode>, ] <Search base path> , <Search string> [, <Options>])
<Result>: Character string
Search result (empty string if an error occurred). The result has the following format:
<Key path> + TAB + <Subkey> [ + TAB + <Value> [ + TAB + <Data>]]
<Access mode>: Integer constant
Versions 27 and later
Registry access mode:
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.
registryMode32Forced mode to access the registry as a 32-bit program.
registryMode64Forced mode to access the registry as a 64-bit program.
New in version 27
Registry access mode:
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.
registryMode32Forced mode to access the registry as a 32-bit program.
registryMode64Forced mode to access the registry as a 64-bit program.
Registry access mode:
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.
registryMode32Forced mode to access the registry as a 32-bit program.
registryMode64Forced mode to access the registry as a 64-bit program.
<Search base path>: Character string
Path of key from which the search is performed. This path has the following format:
<Key path>[ + TAB + <Subkey> [ + TAB + <Value> [ + TAB + <Data>]]]
<Search string>: Character string
Character string sought in the registry.
<Options>: Optional Integer constant (or combination of constants)
Search mode. The default search mode corresponds to:
RegistrySeekKey + RegistrySeekValue + RegistrySeekData + RegistrySeekRecursive.
registrySeekKeyPerforms a search in the name of keys.
registrySeekDataPerforms a search in the data (String, Multiple String or Extensible String data only).
registrySeekWholeWordSearches for the full word specified in the <Search string> parameter.
registrySeekRecursivePerforms a recursive search from the base key of the search.
registrySeekValuePerforms a search in the names of values.
Business / UI classification: Business Logic
Component: wd270std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment