OLE: SETUP.REG Can Be Used to Repair REG.DATLast reviewed: November 23, 1994Article ID: Q82650 |
The information in this article applies to:
SUMMARYSome object-linking-and-embedding (OLE) servers may provide a text file called SETUP.REG, or a similarly-named file. This file contains information about the particular server application and can be used to repair an application's entry in the Windows REG.DAT file. This is necessary only if you think the entry is incorrect or the REG.DAT file is corrupted.
MORE INFORMATIONThe REG.DAT file is the registration database. The database is a source of information about server applications in a binary format. Information in REG.DAT includes:
SETUP.REG is a text file that contains the same information as REG.DAT except its format is ASCII instead of binary. SETUP.REG can be merged with an existing REG.DAT file to repair or update an individual entry in the REG.DAT file. If REG.DAT or OLESVR.DLL is damaged or corrupted you may get the following error message.
Failed to register server. Sample SETUP.REG Entries for PaintBrushNote: PaintBrush can only act as a server application. HKEY_CLASSES_ROOT\.bmp = PBrush HKEY_CLASSES_ROOT\.msp = PBrush HKEY_CLASSES_ROOT\.pcx = PBrush HKEY_CLASSES_ROOT\PBrush = Paintbrush Picture HKEY_CLASSES_ROOT\PBrush\shell\print\command = PBRUSH.EXE /P %1 HKEY_CLASSES_ROOT\PBrush\shell\open\command = PBRUSH.EXE %1 HKEY_CLASSES_ROOT\PBrush\protocol\StdFileEditing\verb\0 = Edit HKEY_CLASSES_ROOT\PBrush\protocol\StdFileEditing\server = PBRUSH.EXE Steps to repair REG.DAT with an application's SETUP.REG file:
|
KBCategory: kbenv kbole
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |