Skip to main content

It is not easy to find the correct commands to control excel interface.

With the Macro Recorder it is very easy to find the VBA-Commands!

Now i search a converter from VBA to Cobol?

Thanks for help!

It is not easy to find the correct commands to control excel interface.

With the Macro Recorder it is very easy to find the VBA-Commands!

Now i search a converter from VBA to Cobol?

Thanks for help!

In Net Express, there was the Type Library Assistant that would generate the COBOL sources from COM Interfaces for selected components. This tool is not available in Visual COBOL. I do not know of any automated tool to do this conversion. We don't document the interface because Office applications are from Microsoft and not Micro Focus/OpenText. This is the same for something like SQL. We document the NX/VC specific items like OpenESQL but we do not document the SQL language.

If, instead of native code, you used .NET managed code for the Excel interface, there are a lot of C# examples and we do have a converter from C# to COBOL.


In Net Express, there was the Type Library Assistant that would generate the COBOL sources from COM Interfaces for selected components. This tool is not available in Visual COBOL. I do not know of any automated tool to do this conversion. We don't document the interface because Office applications are from Microsoft and not Micro Focus/OpenText. This is the same for something like SQL. We document the NX/VC specific items like OpenESQL but we do not document the SQL language.

If, instead of native code, you used .NET managed code for the Excel interface, there are a lot of C# examples and we do have a converter from C# to COBOL.

Chris, where can we found the converter from C# to cobol? Is it a component from Netexpress 5.x or Visual cobol?

cg


Chris, where can we found the converter from C# to cobol? Is it a component from Netexpress 5.x or Visual cobol?

cg

You can find it here:

C# to COBOL Converter | Application Modernization and Connectivity Marketplace (microfocus.com)

This converts from C# to Visual COBOL .NET managed COBOL code


You can find it here:

C# to COBOL Converter | Application Modernization and Connectivity Marketplace (microfocus.com)

This converts from C# to Visual COBOL .NET managed COBOL code

Hi Chris, i have test the converter today, but the output in cobol is only "managed cobol" and not "normal cobol"

Or is ther a other converter available?


Hi Chris, i have test the converter today, but the output in cobol is only "managed cobol" and not "normal cobol"

Or is ther a other converter available?

I specifically mentioned that the converter was for converting C# to .NET managed COBOL. I am not aware of any other converter that will convert other language examples to native OO syntax.