AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones del registro
  • Example: Creating a registry key
RegistryCreateKey (Example)
Example: Creating a registry key
This example is used to create a registry key for an application and to write a value into this key.
Path is string
// Find out the name of "root" key
Path = RegistryFirstSubKey()
// Create the key for MyApp
Path = Path + "\MyApp\"
IF RegistryCreateKey(Path) = False THEN
Error("Error while creating the key")
RETURN
END
// Write a value into the key
IF RegistrySetValue(Path, "Language", "English") = False THEN
Error("Error while writing into the key")
RETURN
END
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

Señalar un error o enviar una sugerencia | Ayuda local