GET_REGISTRY_VALUE_CLIENT$
|
Syntax: |
GET_REGISTRY_VALUE_CLIENT$(<Hkey>,<Subkey>,<Name>)
|
||||||
|
|
|
||||||
|
Meaning: |
Returns
under WINDOWS a value of the WINDOWS registry of the client computer. <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
successful GET_REGISTRY_VALUE_CLIENT$ returns the value of <Name> as
string. If <Name> is a binary object, a string is returned, which
contains the values of the bytes of the binary object separated by
";". If the program is not a 2T program, the
functions GET_REGISTRY_VALUE_CLIENT$ and GET_REGISTRY_VALUE$ are identical. In
the case of an error GET_REGISTRY_VALUE_CLIENT$ returns the empty string
"" and ERRORTEXT$ contains the
error text. If
<Name> contains the empty string "",
GET_REGISTRY_VALUE_CLIENT$ returns all subkeys of <Subkey> separated by
";". 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: |
USER$ = GET_REGISTRY_VALUE_CLIENT$("HKEY_LOCAL_MACHINE",
"Software\Microsoft\WIndows\CurrentVersion\Authentication\LogonUI",
"LastLoggedOnUser") IF USER$ = "" THEN ERRORMES = "Error: " + ERRORTEXT$ ENDIF |
||||||
|
See also: |
|