|
RegDelete Method |
|
Description
Deletes a key or one of its values from the registry.
PowerBASIC Syntax
Arguments
Remarks
Specify a key-name by ending bstrName with a final backslash; leave it off to specify a value-name. Fully qualified key-names and value-names are prefixed with a root key. You may use abbreviated versions of root key names with the RegDelete method. The five possible root keys you can use are listed in the following table.
Example [PowerBASIC]
#INCLUDE "WSHOM.INC"
DIM pWsh AS IWshShell
pWsh = NEWCOM "WScript.Shell" pWsh.RegDelete UCODE$("HKCU\Software\ACME\FortuneTeller\MindReader") pWsh.RegDelete UCODE$("HKCU\Software\ACME\FortuneTeller\") pWsh.RegDelete UCODE$("HKCU\Software\ACME\")
|
