MRU List on custom menu (2nd try)

J

Jon

Hi

Can anybody tell me how to display the most recently used file list (as on
the built-in file menu) on my custom menu ?

Many thanks

Jon
 
A

Albert D.Kallal

Hum, you can "steal" the whole file menu, but just grabbing the MRU don't
seem to be possible.

So, the only way can think of doing this would be to actually "read" the
MRU from the registry, and then load up a custom listbox on the menu bar.
(or, simply have "4" menu items, and change the caption).

For a2003, I simply did a "search" in the registry to look for a recent
entry in the MRU, and came up with the following key:

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

the key was MRU1 to MRU9

So, you will need some code to read a reg value.

You can use the one here:
http://www.mvps.org/access/api/api0015.htm

So, I think you have to code this one....
 
J

Jon

Albert,

Thanks very much for taking the time to look at this, I'll follow your
advice and replace menu item captions with the reg values.

Jon
 
Top