A basic fix for Microsoft Visual C++ 2017 setup failed on your Windows 11/10 PC, is to uninstall all the existing Visual C++ Redistributable items in Programs and Features or via the Settings app.
Visual Basic 6 (VB6), introduced in 1998, was a major step forward in programming, particularly for Windows applications.