|
|
|
|
|
- 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|