Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

11.3.6 Building and Executing the Project

You are now ready to build the first rendition of the clock control. Save the project first. Now right-click the mouse on the project name in the left window. Select Build All from the pop-up menu.

If you receive any errors during the build, go back and correct them. Remember that double-clicking on any red error messages in the build window will automatically position you in the editor on the offending line of code. Once you have a clean build, you are ready to execute the control for the first time.

Remember that you have built this as an EXE (stand alone application) this first time, so it is technically not a control (which would require it having been built as a DLL).

To execute the module, right-click on the module name in the left window and select Execute from the pop-up menu. The application should initialize and appear as follows:

Figure 11.9 The Clock application

You may notice that there is apparently no easy way to close the clock application while it is executing. Because you have turned off the title bar, there is no close button.

Additionally, you did not place a command button or create an event to close this application.

To close the application, you need to move the mouse down to your Windows task bar, which should contain a button entitled "CfForm1". You can right-click the mouse on either of these bars and select "Close" from the pop-up menu to close the application.