Getting Started : Constructing your first visual application : Running the To-do List application
Running the To-do List application
During the application packaging process VAST Platform created the executable and various runtime files you need to run your application.
Note:
When you installed VAST Platform, statements in your configuration files were modified to include the product directories. In Windows, the PATH statement was set in the AUTOEXEC.BAT file; in any UNIX platform, the equivalent of the LIBPATH statements were set in the .profile file or control file used for UNIX platforms. When you run your packaged application, it looks for files in the path statement.
During the VAST packaging process, a file is created for your use in starting your application; for Windows a file named YourApp.EXE is created, for UNIX a file named YourApp* is created. Here, YourApp is the file name you specified in the file save window early in the packaging process. For our example, we specified TODOLIST.EXE. In the case of Windows, the file is an executable file that you can execute from the command prompt or associate with an icon. For UNIX, a shell script is created that can be run from a shell command prompt.
To start your application do one of the following:
For Windows:
Type todolist from a VAST Command Prompt with the current directory set to your TODOLIST directory where your packaged files were stored. (For our example, we specified C:\TODOLIST.) This is the directory you created in Creating an executable application.
For Linux (UNIX):
For UNIX type todolist from a shell command prompt with the current directory set to your TODOLIST directory where your packaged files were stored.
Once your application has started, experiment with it to make sure it works as you designed it
That's all there is to it!
If you want to distribute this application to another machine, a certain set of files must be copied along with the application executable file. For more detailed information on packaging applications, setting up your runtime environment, and distributing your application, refer to the Visual Programming User Guide.
Last modified date: 02/16/2023