We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Retrieves the value of a key when that value is a string.

Method of

WinReg object


String getValueString ( String subkey, String valname);


The getValueString method has the following parameters:

The key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".
The name of the value-name/value pair whose value you want.


A string representing the value of the named value-name/value pair or null if there's an error, the value is not found, or the value is not a string.


The getValueString method gets the value of a string. If the value is not a string, use the getValue method instead.

Document Tags and Contributors

Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley
Last updated by: Sheppy,