I have a program that I want to run only once a day. I want the user only to be allowed hit the command button once. Then at 5 oclock the next day I want the button to be enabled again. Does anyone have any ideas on how to approach. I know that I need a timer event but I have no idea on how to disable the command button until the next day.

Any help is greatly appreciated.

Thanks
JK