.. highlightlang:: us .. index:: RegGetValue .. _reggetvalue: RegGetValue =========== .. us.tag RegGetValue ENGLISH New300 Registry Changed560 :ref:`RegGetValue` retrieves a value. .. function:: value = RegGetValue(ssKey) .. us.return **Return Value** *value* is the key value. In case of an error the function returns an empty string. .. us.params **Parameters** .. uparam:: ssKey *ssKey* is the key string. .. us.example **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!"); } .. us.history **History** .. list-table:: :header-rows: 1 * - 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. .. seealso:: :ref:`overview-application-object`, :ref:`RegSetValue` :sub:`id-1300876`