RegGetValueΒΆ

RegGetValue retrieves a value.

value = RegGetValue(ssKey)

Return Value

value is the key value. In case of an error the function returns an empty string.

Parameters

ssKey

ssKey is the key string.

Example

RegConnect("HKEY_CLASSES_ROOT");
RegOpen("Excel.Sheet.8\\CLSID");
if (RegGetValue("") != "") {
    MessageBox("Excel 8.0 maybe installed on this computer!");
} else {
    MessageBox("Excel 8.0 not installed on this computer!");
}

History

Version

Description

5.6.0

REG_BINARY-Keys returns a string that may contain NULL characters. Older versions returned an empty string.

3.0.0

New.

id-1300876