-
Semper Vaporo
-
- Posts: 331
- Joined: Sat Oct 09, 2010 11:51 am
by Semper Vaporo » Mon Jun 15, 2015 9:52 am
I have had a similar problem occur with other programs. I wrote an alarm clock program many years ago where I can set repeating alarms to remind me of birthdays and appointments and such. It stores the alarm info in the Windows Registry. Sometimes, (not very often, maybe once every 5 or 6 months) in the morning when I boot-up the PC for the day, an alarm that I deleted the day before will occur again, or alarms that I created the day before no longer exist. It is quite frustrating when I miss an appointment because I was relying on the program to remind me and the alarm disappeared from the list!
Because I have the source code for this program, I have made modifications to try to catch when this occurs... so far I am stymied as to the cause, or cure. I can only surmise that some anti-malware feature is detecting something wrong and overwriting the Registry with a previous copy. I am not sure if it is one of the 3rd party anti-malware program I use or if it is something in Windows 7 (I don't remember it ever happening in previous versions of Windows).
I modified the program to store the info in both the Registry as well as an ".INI" file (an old, but still viable, method for a program to store 'system' info). I have found that whatever is restoring the previous Registry data is also re-writing the ".INI" file, because, when the program starts, it compares data from both and finds no differences, yet sometimes there is a difference in what I remember as to which alarms should exist. It never loses alarms that have been in the list for a long time, nor does it recall alarms that I deleted many days ago, it only reverts to the setup from the day before I made changes to the list.
It is difficult to troubleshoot because I cannot find a way to cause it to happen and it happens so seldom I am not usually prepared to troubleshoot it (such as, "Didn't I delete that alarm?" or "I thought I created a new alarm for that appointment.", I can't remember!). Frustrating!
I think I have seen something similar with other programs... such as if I create or edit a document with "Word" or "Excel", it normally adds that file name to the "Recent File List" for that program, but sometimes I think I have noticed a file not listed in that list that I remember should be there... like the system somehow reverted to a previous copy of the list.
This is sort of a ridiculous thing to suggest, but it is the only thing I can think of that might "cure" the "hey what happened?" conundrum that you describe and I have seen in other programs... I would recommend that after you make a major change to any program's setup, reboot the computer right away and verify that the change is still set they way you want. I think that this might cure the problem because upon a successful reboot, Windows is supposed to take a new snapshot of the Registry and I am thinking that maybe it is during that process that it decides there is something wrong with the present setup and thus copies the last successful copy it made back into the Registry (and any modified ".INI" files). I just don't know what triggers the rewrite.
Semper Vaporo,