Add a keyboard configuration file to the project that sets the typical function key operations when executing ACCEPT statements
in an RM/COBOL environment.
Visual COBOL ships with a keyboard configuration intended for modernizing RM/COBOL applications.
In Solution Explorer, right-click the project name and select
Add > Existing Item.
Browse to
%COBDIR%\etc\rm, then double-click
cobkeymp.
Note: If the file is not displayed, to the right of the
File name field, change the file type filter to display
All Files (*.*).
The file is added to the project, and is displayed in the Solution Explorer.
Tip: You can drag the file into the project from Windows Explorer, and drop it on the project name to add it directly to the project.
To verify the correct build properties are set for the keyboard configuration utility:
In Solution Explorer, right-click
cobkeymp and select
Properties.
The properties for the file appear in the Properties pane.
Ensure that:
Build Action is set to
None.
Copy to Output Directory is set to
Copy if newer.
Click
File > Save All to save the project.
The next task is compile the project and run the application.