I have made an alarm clock, and implemented the function given in the first link. I use it to close down windows media player. after a specified amount of time has passed. But for some reason, access periodically freezes on me. Sometimes the code works fine, and other times it locks up the...