Add the RM/COBOL Keyboard Configuration

Add a keyboard configuration file to the project that sets the typical function key operations when executing ACCEPT statements in an RM/COBOL environment.

Enterprise Developer ships with a keyboard configuration intended for modernizing RM/COBOL applications.

  1. In Solution Explorer, right-click the project name and select Add > Existing Item.
  2. 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 (*.*).

    GUID-198B1CA0-F195-44CD-A798-5497C54D5993-low.png

    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.
  3. To verify the correct build properties are set for the keyboard configuration utility:
    1. In Solution Explorer, right-click cobkeymp and select Properties.

      The properties for the file appear in the Properties pane.

    2. Ensure that:
      • Build Action is set to None.
      • Copy to Output Directory is set to Copy if newer.
  4. Click File > Save All to save the project.
The next task is compile the project and run the application.