If you want to download .NET framework 4.0 you can go to Google Search and you will find links that redirect you to a download link. Moreover, .NET framework 4.0 is developed by Microsoft. Therefore, I recommend that you download this framework directly from its official webpage. After you finished with .NET framework 4.0 then you can reinstall Modbus Viewer along with VB.NET or C#.