Create a key in the reg, perhaps under HKEY_CURRENT_USER\Software\KiXtart\ and write a value there holding @YDayNo when you last ran the program. Then on every logon, compare the current @YDayNo with what is in the reg and if the spread is 45 or more, run the program and update the reg.

How hard can it be, besides having to calculate end of year wrap?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.