Visual COBOL 2.1 is not supported on Windows 10, and I believe this is the case also for Visual Studio 2010.
You will need to upgrade to version 2.3 to be supported on Windows 10.
You may also consult the Micro Focus Product Availability and Support Schedule page to see what Micro Focus product and version are supported on a specific platform.
Regards,