Error getting tags :
error 404Error getting tags :
error 404 deleteRegistry | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
deleteRegistry
Basics
Expander triangle
Type
Function
Syntax
deleteRegistry(keyPath)
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
Windows
Security
None required
Summary
Removes an entry from the Windows system registry.
Examples

deleteRegistry("HKEY_CLASSES_ROOT\.txt\")
if not deleteRegistry(storedKey) then answer "Couldn't delete key."

Additional Comments
Expander triangle

Use the deleteRegistry function to uninstall a registry entry your application has previously installed.

Parameters:

The keyPath parameter is the path to a registry entry.

Value:

The deleteRegistry function returns true if the entry was successfully deleted, false otherwise.

Comments:

If Windows sends an error message to the application, the error message is returned in the result.

Tip: To delete a subkey, use the setRegistryfunction to set the subkey's value to empty.

On Mac OS and Unix systems, the deleteRegistry function returns "not supported".

Caution! Be careful to use only carefully debugged entries with the deleteRegistryfunction., and be very certain you know all the ramifications of the entry you're removing. Removing entries from the Windows registry can cause the system to behave unexpectedly or stop functioning altogether.

User Comments
Expander triangle