User's Guide

Creating a program object

You can add a finishing touch to your application by creating an operating system program object.

Creating an OS/2 program object

Create a program object from the OS/2 Templates folder and give it the following settings:

Path and file name
d:\path\appname.exe, or the full path and name of the startup executable in your output directory.

Working directory
d:\path, or the full path and name of your output directory.

Creating a Windows program object

Create a Windows program item from the Program Manager and give it the following properties:

Command Line
d:\path\appname.exe, or the full path and name of the startup executable in your output directory.

Working Directory
d:\path, or the full path and name of your output directory.

Creating a UNIX program object

Depending on the type of desktop you have for UNIX, you might be able to create a program object for starting the runtime image. For example, if you have the COSE desktop in AIX, you can use the CreateAction desktop tool of the Application_Manager to make a program object. For the Command When Action Icon is Double-clicked property, specify /path/appname, or the full path and name of the startup executable in your output directory.

If your runtime image runs as expected, you are ready to learn about distributing your application, which is covered in Distributing your application. If the runtime image doesn't open or operate properly, try the debugging measures.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]