Microsoft KB Archive/167768

From BetaArchive Wiki

Article ID: 167768

Article Last Modified on 11/5/2003



APPLIES TO

  • Microsoft Office 97 Developer Edition



This article was previously published under Q167768

Advanced: Requires expert coding, interoperability, and multiuser skills.


SYMPTOMS

When you try to start a run-time copy of the Wrkgadm.exe file from a custom shortcut on a computer that previously had Microsoft Office 97 Professional Edition installed, you receive the following error message:

Can't open registry database

CAUSE

The registry entry for the shortcut that opened the Wrkgadm.exe file was removed when the copy of Microsoft Office 97 Professional Edition was uninstalled from the computer.

RESOLUTION

Rerun Setup for the custom Setup program that created the shortcut to reregister the entry.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a custom application that includes a copy of the Wrkgadm.exe file that comes with Microsoft Access and a custom .mdw file that you have created.


NOTE: Do not try to use the same copy of the Wrkgadm.exe file that is being used by Microsoft Access or the Setup Wizard will fail when it tries to use the file.

  1. Create a shortcut that will open the Wrkgadm.exe file.
  2. Run Setup to install your newly created run-time application on a computer that does not have Microsoft Office 97 Professional Edition installed.
  3. Start the Wrkgadm.exe file from the newly created shortcut.
  4. Run Setup for Microsoft Office 97 Professional Edition to install it.
  5. After Setup is finished, run Setup again to completely remove Microsoft Office 97 Professional Edition.
  6. Try to reopen the Wrkgadm.exe file from the shortcut. Note that you receive the error message mentioned in the "Symptoms" section.


REFERENCES

For more information about using a work group file in your custom application, search the Help Index for "Workgroup Administrator, installing in Setup Wizard."


Additional query words: remove removing can t open registry database Wrkgadm exe

Keywords: kberrmsg kbsetup kbprb KB167768