PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example: Reading a registry key
RegistryFirstSubKey (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