How can I delete database in the Open Recent Database list

G

Gear

Access 2007
I got 4 databases that was deleted and now they still appear in the "Open
Recent Database" list

How can I do a clean up in this list
 
G

Graham Mandeno

I don't know of any "official" way to do this, but you can hack the list in
the registry editor:

Start > Run > "regedit"

Go to HKEY_CURRENT_USER\Software\Microsoft\Office\<your
version>\Access\Settings
(where <your version> is 11.0, 10.0, 9.0, etc)

Delete the key values named MRUx which correspond to the files that no
longer exist.

You must close Access first, otherwise the list will be recreated.
 
T

Tom Wickerath

To expand on Graham's unofficial hack, you can save the indicated branch of
the registry to a new .reg file. Then open it with NotePad and hack out
everything that you don't want to reset. Set each MRU to zero lenght strings.
I just tried this on my PC, which has Windows 2000 and Access 2003, and it
worked fine. Here is the resulting contents of my "ClearAccessMRUList.reg"
file. Rather than copy this one, I suggest starting by backing up your
registry branch first. Make another copy of the .reg file to edit. The first
copy can be used to restore, just in case anything terrible happens.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Settings]

"MRU1"=""
"MRU2"=""
"MRU3"=""
"MRU4"=""
"MRU5"=""
"MRU6"=""
"MRU7"=""
"MRU8"=""
"MRU9"=""


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________


Graham Mandeno said:
I don't know of any "official" way to do this, but you can hack the list in
the registry editor:

Start > Run > "regedit"

Go to HKEY_CURRENT_USER\Software\Microsoft\Office\<your
version>\Access\Settings
(where <your version> is 11.0, 10.0, 9.0, etc)

Delete the key values named MRUx which correspond to the files that no
longer exist.

You must close Access first, otherwise the list will be recreated.
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

Gear said:
Access 2007
I got 4 databases that was deleted and now they still appear in the "Open
Recent Database" list

How can I do a clean up in this list
 
G

Gear

Hey guys, this is more like on Microsoft side to do something like a
contextual menu to manage this list or simple automaticly check if the file
still exist and just get rid of it since its just the list of recent open
files

Since its Office 2007 beta, I was just hoping that a Microsoft Office team
would read this mail then just do 1 or 2 lines of code to do something to
improuve their product. I know it is VERY simple since I'm a 25 years
programmer experience :)

Thank you for all your replay but I knew about all that registry crap we can
do.
 
T

Tom Wickerath

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top