Author Topic: Database Open - Clear List  (Read 184 times)

Darius1968

  • Hero Member
  • ***
  • Posts: 736
Database Open - Clear List
« on: June 07, 2021, 08:18:47 AM »
As of now, I have a list of three databases, from which I can choose to open.  How do I clear this list?  Thanks! 

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 28570
Re: Database Open - Clear List
« Reply #1 on: June 07, 2021, 08:41:48 AM »
This list is automatically maintained by the Microsoft runtime IMatch uses.
Except from manually editing the Windows registry, there is no way, or need, to clear this list. IMatch removes non-existing databases usually automatically from this list. And most users have only one database anyway.

sinus

  • Global Moderator
  • *****
  • Posts: 4345
  • IMatch-User since 2001 (IMatch 3.6)
Re: Database Open - Clear List
« Reply #2 on: June 07, 2021, 09:26:14 AM »
As of now, I have a list of three databases, from which I can choose to open.  How do I clear this list?  Thanks!

Darius,
if you speak for the "recent" list, in the database-tab and there just above exit, there is a list.

If you mean this list, lately my list was empty, means there was only 1 DB, though I have normally 3-4 DB (testing and so on).
I guess, I have moved the original DBs and moved back or done something, what I unfortunately cannot remember.

I personally like this list, but there is a way to clear it, but I do not know how.
Best wishes from Switzerland! :-)
Markus

ubacher

  • Oldtimer
  • ****
  • Posts: 2278
Re: Database Open - Clear List
« Reply #3 on: June 08, 2021, 07:11:30 AM »
This list has been bothering me too. I had some temporary/testing db on it.
Your post got me to finally look into this:
I moved the offending dbs to another folder. The db still showed up
on the list but - selecting it once - which failed - removed the db from the list.

Hope this helps

Darius1968

  • Hero Member
  • ***
  • Posts: 736
Re: Database Open - Clear List
« Reply #4 on: June 08, 2021, 08:28:49 AM »
Ubacher, thanks - I appreciate it! - for your efforts!  I see what happens, when I once again, regain control over my DB...Thanks! 

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 28570
Re: Database Open - Clear List
« Reply #5 on: June 08, 2021, 10:07:58 AM »
Interesting.

IMatch does check if the files on the last recently used list exist, and if not, removes them from the list.
This code is in place for many years (since IMatch 5.0).
Apparently, something in the runtime has changed and now some extra Voodoo is required to make the runtime actually update the list in the registry.
I have fixed this for IMatch 2021.