Skip to main content

Problem:

Demonstrates the use of the OpenDialog class from the COBOL GUI class library that shows a File Open Dialog Box and displays the file selected.

Resolution:

INTRODUCTION:

==========

Demonstrates the use of the OpenDialog class from the COBOL GUI class library that shows a File Open Dialog Box and displays the file selected.

SOURCE FILES:

=========

Program Files             Description

----------------------     -----------------------------------------------------------

FileOpenDemo.cbl      COBOL source file.

REQUIREMENTS:

==========

Installation of the GUI class library source files option during NetExpress setup.

OPERATION:

========

Run this program to display a File Open dialog box, select a file, and the file name and path will be displayed. Use of the class library requires you to link with the shared cobol runtime when buidling an exe. You may also want to link this demo with the "character" display link option so that you can see the output displayed from the program. It may also be best to run an executable (.exe) of this demo from a NetExpress comman prompt so that you can see the output.

NOTE:

====

COBOL GUI class library descriptions can be found in the mfnxcl31.chm help file in the NetExpress\\base\\bin directory.

==========================================================

Keywords: demonstration, sample, example, demo, fileopen.zip

demo.ex

demo.ne

Attachments:

fileopen.zip

Old KB# 4007