This can help with some (but not all) programs:
1) Uninstall the program. Then when you reinstall it instead of double clicking on the install file right click it and select "Troubleshoot Compatibility"
2) Then click "Try Recommended Settings" and in the next windows click "Start the Program" to install it.
3) After it installs see if it works correctly. Please note - some programs may not be able to run in windows 7.