Displaying Word Processing, Accounting, or Presentation Documents from Your Applications

To display word processing, accounting, or presentation documents that have been distributed with your COBOL program, you include a path and filename in the VALUE clause of the DISPLAY WEB-BROWSER statement. For example, you can "embed" a Word document, Excel spreadsheet, or PowerPoint slide presentation in your application, as in the following example:

display web-browser, value "c:\presentations\training.ppt".

This example opens PowerPoint inside the browser on the user's machine and displays the presentation named "training.ppt". Note that the menus and toolbars normally available to PowerPoint users do not appear in the browser. Users can access a subset of menu options by right-clicking in the control.