Microsoft KB Archive/95671

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5, 2.5a

-

SYMPTOMS
When you are installing FoxPro for Windows, the installation program will check to see if Microsoft Graph is installed on the system. If it is not, the installation program will install and attempt to register it in the REG.DAT file in the Windows program directory. During this process, the following error message may appear:

API 'Create Reg Key Value' Failed

CAUSE
There may be two REG.DAT files on the hard disk or the REG.DAT file may be corrupted.

RESOLUTION
To correct this problem, make sure you have only one REG.DAT file. If you have only one REG.DAT file and the problem still occurs, you must create a new REG.DAT file. To do so:


 * 1) Quit Windows.
 * 2) If the REG.DAT file exists in the Windows program directory, rename it &quot;REG.OLD&quot; (without the quotation marks).
 * 3) Restart Windows. In the Program Manager, choose Run from the File menu, and type &quot;REGEDIT&quot; (without the quotation marks) in the Command Line box.
 * 4) When the REGEDIT program comes up, choose Merge Registration File from the File menu.
 * 5) In the File Name box, select SETUP.REG from the Windows SYSTEM subdirectory. This creates a new REG.DAT file in the Windows directory.
 * 6) Install FoxPro.
 * 7) Reinstall the other entries that may have been lost from the old REG.DAT file. This process is described in the Help file for the REGEDIT program.

STATUS
This behavior is by design.

Additional query words: FoxWin 2.50 API ERROR regkeyvalue regkey value registry information editor database errmsg err msg setup createregkeyvalue

Keywords         : kberrmsg kbsetup FxsetupError Version          : 2.50 2.50a Platform         : WINDOWS Issue type       :
 * }