ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Registry functions
  • Example: Reading a registry key
RegistryQueryValue (Example)
Example: Reading a registry key
This example is used to read a registry key corresponding to an application.
Path is string
Language is string
// Find out the exact name of the "root" key
Path = RegistryFirstSubKey()
// read the key for my app
Path = Path + "\MyApp\"
Language = RegistryQueryValue(Path, "Language")
IF Language = "" THEN
Error("No value was found")
RETURN
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help