Sounds like you're talking about Visual Studio is not working?
Note that VS 2017 and VS 2019 are 2 completely different apps so if neither works then your problem is at the system level. As with any Windows issues the Event Log is where you'll want to go to see what is going wrong.
Michael Taylor http://www.michaeltaylorp3.net