User`s manual
Building Applications 31
PCIS-DASK
Application Building Fundamentals in Windows
Design the interface
To design the interface for the application, place all the interface
elements such as command buttons, list boxes, and text boxes on
the Visual Basic form. These standard controls are available from
the Visual Basic Toolbox.
To place a control on the form, select the desired control from the
Toolbox, then draw it on the form. You may also double-click on
the control icon from the Toolbox to place it on the form.
Set the interface controls
To view the property list, click the desired control, then choose the
Properties command from the View menu, or press F4. You may
also click on the Properties button from the toolbar.
Write the event code
The event code defines the required action to be performed when
an event occurs. To write the event code, double-click on the con-
trol or form to view the code module, then add the event code. You
can also call the functions declared in the DASK.BAS file to per-
form data acquisition operations.
Run the application
Do one of the following to run the application:
X Choose Start from the Run menu
X Click the Start icon from the toolbar
X Press <F5>
Distribute the application
After completing the project, save the application as an executable
(.EXE) file using the Make EXE File command from the File menu.
The application, after being transformed into an executable file, is
now ready for distribution.
You must include the PCIS-DASK’s DLL and driver files when the
application is distributed. Refer to Chapter 5: Distribution of Appli-
cations for the details.