Adobe Photoshop CS3 Program Error

I need to finish a project with Adobe Photoshop CS3. But when I try to execute anything, the commands are not working. Because I’m in a rush to finish this, I ended up with a decision to reformat my computer after a series of uninstalling and re-installing CS3. And yet the same issue is occurring. There is an error showing on my screen and posted below. How can I fix it?

Adobe Photoshop CS3 Extended
Could not complete the command because of a program error.
