Previous Topic Next topic Print topic


Overview of modernizing dialog system applications

Dialog System Runtime for Visual COBOL, part of the Compatibility AddPack for Visual COBOL, enables you to modernize Dialog System applications within Visual COBOL for Visual Studio 2012 and to run them under COBOL Server.

You upgrade an application to Visual COBOL and from there, you can run the application without change, or modernize it over time. The application runs under the COBOL Server and the Dialog System run-time system.

The first stage is to import the application into Visual COBOL which you do using the Net Express Project Import wizard. In Visual Studio, click File > Open > Net Express Project Import Wizard, select the Net Express project .app file and follow the wizard instructions. This Net Express Project Import wizard automatically converts the project into a Visual Studio solution. You can then build and run the application from Visual COBOL.

From then on, you can edit and maintain the application from within Visual COBOL. The screensets are referenced in the Visual COBOL project, and you can double-click a screenset in Visual COBOL to start the Dialog System painter supplied with the AddPack, and edit the screenset. In this way, you can continue maintaining your application with Visual COBOL until you are ready to modernize it.

The next stage is to modernize the application gradually, as much or as little as you want, keeping other code unchanged. There is a range of techniques for modernization. For example, you can replace one Dialog System screen with a Windows Form or you can wrap a .NET user control as an ActiveX and use that in Dialog System.

The AddPack provides a number of samples to demonstrate the various modernization techniques, and there is supporting documentation in this Help explaining the significant elements of the code. Some samples use the same code as in Net Express, and have the key difference that they use the Visual COBOL version of the COBOL and Dialog System run-time systems.

Finally, to fully modernize, you use Microsoft tooling, the .NET Framework and Microsoft interoperability techniques.

Note: The Compatibility AddPack is not part of Visual COBOL or COBOL Server. It is separately installable and is available from the Product Updates section on the Micro Focus SupportLine.
Previous Topic Next topic Print topic