Microsoft KB Archive/79506

= PUB: Deleted or Moved Files Still Listed on File Menu =

Article ID: 79506

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft Publisher 3.0 Standard Edition
 * Microsoft Office Publisher 2003
 * Microsoft Publisher 1.0a
 * Microsoft Publisher 2.0 Standard Edition
 * Microsoft Publisher 2.0a

-



This article was previously published under Q79506



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the &quot;Restoring the Registry&quot; Help topic in Regedit.exe or the &quot;Restoring a Registry Key&quot; Help topic in Regedt32.exe.



SYMPTOMS
Microsoft Publisher for Windows provides a list of the five most recently accessed Publisher files when you open the File menu. Files you have moved or deleted remain on this list, if they were among the five files you saved most recently.

If you attempt to open one of the erroneously listed files, you receive a &quot;Cannot find file&quot; error message.



CAUSE
This list of files is derived from MSPUB.INI, not from a directory listing of the hard drive. Because Publisher is not checking the hard drive to obtain this list, files that have been deleted, moved, or were stored on a floppy disk that is not currently in the floppy drive may erroneously appear in this list.



Publisher 95 and 97
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the &quot;Changing Keys And Values&quot; Help topic in Registry Editor (Regedit.exe) or the &quot;Add and Delete Information in the Registry&quot; and &quot;Edit Registry Data&quot; Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

Registry Key

\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Publisher\Recent File List

To clear an entry click in the right pane on the entry you would like to delete and then click delete on the edit menu or press the delete key.

In Publisher 97 if you try to open a missing file using the most recently used file list Publisher recognizes that the file is missing and updates the Recent File List registry file itself.

Publisher 2.x
MSPUB.INI (located in the Windows folder) has a section that looks like the following:   [Recent File List] File1=c:\mspub\file1.pub File2=c:\mspub\file2.pub File3=c:\mspub\file3.pub File4=c:\mspub\file4.pub File5=c:\mspub\file5.pub To clear the list in Publisher, do the following:
 * 1) Close Publisher.
 * 2) Delete the lines in the [Recent File List] section of MSPUB.INI (do not delete the section heading), and restart Publisher.

If Publisher is open when changes are made to MSPUB.INI, Publisher ignores the changes and rewrites the previous list.



STATUS
This behavior is a normal function of Publisher, and is similar to features provided by Microsoft Word for Windows and Microsoft Excel, which provide a list of the four most recently used files.

Additional query words: 1.00 1.00a 2.00 2.00a 4.00 pub3 pub97

Keywords: kberrmsg kbprb kbusage KB79506

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.