Using an Image File Name
You can create an executable version of an application that users can run without going through Vision. You do this by creating an image of the application.
The image file provides Vision with the application name and database name that it needs to run the application. You can give the image a name that is easier for users to enter than the application name.
For example, you can create an image called "orders" for the "order_entry" application. To run the application, a user types at the operating system prompt:
Windows:
orders
UNIX:
orders
VMS:
run orders
By default, Vision runs the application from the top frame or other default start frame. To start the application with a different frame, a user enters the frame name after the image name.
For example, to start the application in the example above from the NewOrders frame, a user enters:
Windows:
orders neworders
UNIX:
orders neworders
VMS: The
imagename must be defined as a DCL foreign command. See
Creating a Command for an Imaged Application for instructions and an example.
Creating an image can take time. However, running an imaged application is more efficient than going through Vision because:
• You can create an image name that is easy for users to remember and enter.
• The application must start more quickly, because users runs an executable file directly from the operating-system level.
• Users do not have access to the Vision development environment.
However, users still must enter any optional parameters, such as a specific start frame. Therefore:
• Users must know the parameter names and syntax
• You do not have total control over how a user accesses the application
Last modified date: 08/28/2024