When I open Visual Studio everything is fine, but when I open any solution, it comes up with an error:
Visual Studio 2012 for Windows Desktop has stop
The answer by @Georgi is correct. This answer is just to guide user to access the User AppData and Roaming folders in Windows 10. Do the following steps:
In order to keep your computer safe, remember to restore back the defaults.
Credits to Hafid Selougha.