Go to the start menu. In the empty box, type event viewer. You will see a matching result show above where you're typing. Click on that result. That will open the event viewer. Click the triangle next to Windows Logs, to show more results. Each selection there, shows different types of logs. Click on the application logs to show logs related to your programs. Look for red X's, and look at the time noted next to it. Match the error log with the time of your programs closing on you. If you find a log that corresponds to the issue, it can give you a description of the cause.