DEL_REGISTRY_VALUE_CLIENT
|
Syntax: |
DEL_REGISTRY_VALUE_CLIENT(<Hkey>,<Subkey>,<Name>)
|
||||||
|
|
|
||||||
|
Meaning: |
Deletes
under WINDOWS an entry in the WINDOWS registry of the client computer. If the program is not a 2T program, the
functions DEL_REGISTRY_VALUE_CLIENT and DEL_REGISTRY_VALUE are identical. <Hkey>
must contain one of the following root keys: HKEY_CLASSES_ROOT <Subkey>
contains the path in <Hkey> , in which the value of <Name> is
stored. If
<Name> contains the empty string "", the key <Subkey>
and all its subkeys are deleted. DEL_REGISTRY_VALUE_CLIENT
returns 0 if the entry could be deleted. In
the case of an error DEL_REGISTRY_VALUE_CLIENT returns -1 and ERRORTEXT$ contains the error text. In
order to access the WINDOWS registry the JNA package (Java Native Access) has
to be installed: set
CLASSPATH =jna-3.5.2.jar;jna-platform-3.5.2.jar;%CLASSPATH% |
||||||
|
Parameter: |
|
||||||
|
Sample: |
RET% = DEL_REGISTRY_VALUE_CLIENT("HKEY_LOCAL_MACHINE","Software\Ebusoft","Version") IF RET% = -1 THEN ERRORMES = "Fehler: " + ERRORTEXT$ ENDIF |
||||||
|
See also: |
|