Absolutely. While the steps here are specially for Notepad, you can use similar methods for other software crashes.