DeleteRegValue
System function.
The DeleteRegValue function deletes the specified value in the Registry. Not available in WinTask Lite.
Syntax
DeleteRegValue(<path>)
or
ret=DeleteRegValue(<path>)Parameter
<path>, string, path for the value to delete in the Registry (it's the path for the value to be deleted, not the value itself).
Return value
Ret, numeric return code. If the deletion is successful, the function returns 0, otherwise use this return code for error management.
Example
res=DeleteRegValue("HKEY_CURRENT_USER\Software\Taskware\WinTask 1.0\TaskEdit\Recent File list\File1")