MOD2000: Cannot Open Code Librarian If Remote Library Is Not Available (236482)
The information in this article applies to:
- Microsoft Office 2000 Developer
This article was previously published under Q236482 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
You cannot open Code Librarian, and, after some time, you may receive the following error message:
Run-time error '52':
Bad file name or number
On a computer running Windows 95 and 98, if you try to run Code Librarian repeatedly, Windows Explorer may stop responding.
CAUSE
Code Librarian always tries to open the last code library file that you opened. When you last ran Code Librarian, you opened a code library file located on a remote computer on your network. The remote computer is now unavailable on the network.
RESOLUTION
To enable Code Librarian to open again, do one of the following.
Make the Other Computer Available
Bring the computer on which the code library is located back online. Even if the code library is no longer on the remote computer, bringing the computer back online allows Code Librarian to open. At that point, you can reset Code Librarian by opening a local code library, such as the one included with Code Librarian.
Reset DBLocation DWORD in the RegistryWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
If you cannot make the computer available on the network, you can delete the registry DWORD that holds the file path. To do this, follow these steps:
-
Click Start, and then click Run.
-
In the Run box, type regedit, and then click OK.
-
In Registry Editor, browse to the following key:
HKEY_CURRENT_USER
\Software
\VB and VBA Program Settings
\CodeLibrarian
\Settings
-
In the right pane, click DBLocation, and then press DELETE. When asked if you are sure, click OK.
After doing this, the next time that you open Code Librarian, Code Librarian has no database open. You can then open another code library, such as the one provided by Microsoft Office 2000 Developer.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 6/11/2002 |
---|
Keywords: | kbbug kbCodeLibrarian KB236482 |
---|
|