Confirmation

  • Thread starter Thread starter P.o.l
  • Start date Start date
P

P.o.l

hi,

You can confirm to me that AT MOST
I can insert 26 keys ( = alphabet letter )
inside context menu "Open With"???

Thanks
Pol
 
I remember registry writing:
a = program1.exe
b = program2.exe
.................
z = program26,exe
MRUList = ab...z

Then at most 26 keys ?!?!
 
P.o.l said:
I remember registry writing:
a = program1.exe
b = program2.exe
.................
z = program26,exe
MRUList = ab...z

Then at most 26 keys ?!?!

If you choose to do it that way then yes, 26 keys.

But if you need to maintain a bigger list of MRUs
(Most Recently Used), then it's no longer an MRU
you need but a history--perhaps even a complete
history. If that's what you're after then you'll have
to roll your own implementation for it.

One way would be to simply add MRUs sequentially
to a list and read them back sequentially (enumerate),
with the first entry being the least-used and the last
entry being the most recently used. When a file is re-
used, it is simply deleted and re-written to the list.

There's then no need to maintain a separate MRUList
since the order will be dictated by the order the entries
are written. Remember that REGEDIT sorts entries
alphabetically by name while enumeration sorts the
entries in the exact order they were written (sequentially,
or chronologically if you prefer).
 

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