Samples Browser provides quick access to all samples shipped with your COBOL development system.
To open Samples Browser, click
Start > All Programs > Micro Focus Enterprise Developer > Samples > Visual COBOL Samples for distributed applications samples, or
Start > All Programs > Micro Focus Enterprise Developer > Samples > Mainframe Samples for mainframe code samples.
Note: To start Samples Browser on Windows 8 and Windows Server 2012, go to the Start screen and click the
Samples tile.
The Samples Browser Interface
- If you have started the
Visual COBOL Samples browser, click the drop-down field to filter the samples shown by managed code only, unmanaged code only, or both managed and unmanaged code.
- The pane on the left lists the categories of samples.
- The central pane lists the demonstration programs for each category.
- Click on a sample in the list to preview its readme in the bottom pane.
- Click
Open sample in Visual Studio
nnnn to load the sample in Visual Studio so you can build and experiment with it.
- Click
Open sample folder to open the directory containing the files of the sample in Windows Explorer.
The Samples Browser Demonstration
You can explore the code of the application as Samples Browser is also provided as a demonstration program in the
Samples folder (%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples on Windows Vista and Windows 7).
See the following for how to build the Samples Browser project in the Samples and how to add it as a menu command to the Visual Studio Tools menu: