MRU List on custom menu (2nd try)

  • Thread starter Thread starter Jon
  • Start date Start date
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
 
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....
 
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
 

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

Back
Top