Skip to main content

I have a very serious problem with Visual Cobol and Visual Studio 22, I made a project and a solution, I have a code to connect with MySql and insert record, everything worked until I had to renew the visual studio license, from that moment on it does not You can insert records, but if I can consult the records from the database, no error occurs, it displays the record inserted correctly in the message.

From that moment on, I started reinstalling MySql, Visual Studio, Visual Cobol, several times, the last installation of Visual Cobol was done wrong, now it won't let me uninstall it completely. I have started with a great desire to learn Cobol and I have this problem that I don't know how to solve. I would greatly appreciate any help you can give me.

Thank you


#VisualCOBOL

I have a very serious problem with Visual Cobol and Visual Studio 22, I made a project and a solution, I have a code to connect with MySql and insert record, everything worked until I had to renew the visual studio license, from that moment on it does not You can insert records, but if I can consult the records from the database, no error occurs, it displays the record inserted correctly in the message.

From that moment on, I started reinstalling MySql, Visual Studio, Visual Cobol, several times, the last installation of Visual Cobol was done wrong, now it won't let me uninstall it completely. I have started with a great desire to learn Cobol and I have this problem that I don't know how to solve. I would greatly appreciate any help you can give me.

Thank you


#VisualCOBOL

Hola Ricardo Antonio,

Por favor, escriba las publicaciones en la Community en inglés para que las puedan entender todos los participantes.

Procure también proporcionar más detalles del problema: Cómo se manifiesta? Tiene mensajes de error al insertar registros? Etc.

Gracias


I have a very serious problem with Visual Cobol and Visual Studio 22, I made a project and a solution, I have a code to connect with MySql and insert record, everything worked until I had to renew the visual studio license, from that moment on it does not You can insert records, but if I can consult the records from the database, no error occurs, it displays the record inserted correctly in the message.

From that moment on, I started reinstalling MySql, Visual Studio, Visual Cobol, several times, the last installation of Visual Cobol was done wrong, now it won't let me uninstall it completely. I have started with a great desire to learn Cobol and I have this problem that I don't know how to solve. I would greatly appreciate any help you can give me.

Thank you


#VisualCOBOL

Hi Ricardo,

What is the exact error message you are receiving when attempting to uninstall Visual COBOL?
Does it allow you to repair the installation?

You might try the suggestion described in the KB article here.
Although the article is for Enterprise Developer it also applies to Visual COBOL.


Hi Ricardo,

What is the exact error message you are receiving when attempting to uninstall Visual COBOL?
Does it allow you to repair the installation?

You might try the suggestion described in the KB article here.
Although the article is for Enterprise Developer it also applies to Visual COBOL.

Hello Chris!!

When this message appears when trying to uninstall Visual Cobol, I press repair, everything is restored, but Visual Cobol does not work, it does not appear as installed in Visual Studio, and when I press uninstall this error appears.

Thank you


Hello Chris!!

When this message appears when trying to uninstall Visual Cobol, I press repair, everything is restored, but Visual Cobol does not work, it does not appear as installed in Visual Studio, and when I press uninstall this error appears.

Thank you

After repairing Visual COBOL, navigate to the following folder:

C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\vsix\\VS17.0

and then run the program MFVSIXInstall.exe

This should install the Visual COBOL extensions into Visual Studio.

If that doesn't work, then please try the process in the article that I recommended previously.


After repairing Visual COBOL, navigate to the following folder:

C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\vsix\\VS17.0

and then run the program MFVSIXInstall.exe

This should install the Visual COBOL extensions into Visual Studio.

If that doesn't work, then please try the process in the article that I recommended previously.

Hello Chris, I followed all the steps indicated in the KB article and reinstalled visual Cobol, it worked, now the Micro Focus extension appears in Visual Studios. Now I'm going to test if inserting a record into a mysql database works.

Thank you very much for the help.