home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
OASEARCH
/
README
< prev
next >
Wrap
Text File
|
1995-06-08
|
8KB
|
214 lines
NAME: OASEARCH
DESCRIPTION:
A simple GUI application that serves recruiters
for a fictitious services contractor called
"Opportunities Abound". When a customer calls
looking for a particular skill, a recruiter can
match that skill with a list of OA employees that
have that skill. Once a suitable match is made,
the recruiter can open a contract with the
customer.
TASK:
A simple GUI application that matches
requirements against a skills database and opens
a contract when a match is found.
CONCEPT/FEATURE:
How to build a simple GUI application using the
Visual Builder
PROJECT LOCATION:
Inside the VisBuild Sample folder (inside the
VisualAge C++ Samples folder).
SOURCE FILE LOCATION:
X:\ibmcpp\samples\visbuild\oasearch
where X: is the drive you installed the samples
and document component of VisualAge C++.
Select Source Files for a list of the source files
in this directory.
HOW TO RUN THE SAMPLE:
Note: Before executing this application or
editing its parts with the Visual Builder. you
must add \ibmcpp\samples\visbuild\oasearch
to the LIBPATH in your CONFIG.SYS. This is so
the sample can find the resource DLL,
CPPOV33R, which contain the various bitmaps
and icons used by this application.
From within the WorkFrame environment:
To run the prebuilt project, open the
Samples folder on your OS/2 desktop
then double-click on the project's icon
to open the project view of the
sample. Click on the RUN button of
the project's toolbar.
From the command line:
Simply type the name of the .EXE file,
that is:
OAMAIN
HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
Note: CONTRACT.VBB is only for viewing within the
example. It is not for code generation.
From within the WorkFrame environment:
Open the Samples folder on your OS/2
desktop then double-click on the
project's icon to open the project view
of the sample. In the upper half of the
project window you will see the icons
of the files associated with the sample.
Start the Visual Builder component of
VisualAge C++ by selecting Visual from
the Project pulldown. Then, from the
main Visual Builder Window:
1. Select all the parts in the "Visual
Parts" list, except the
"ContractView" part, and then
select "Part->Generate->Part
source" from the Menubar.
2. Select only the "OAMain" part in
the "Visual Parts" list and then
select "Part->Generate->main() for
part" from the Menubar.
3. Deselect all the visual parts and
select all the parts in the
"Nonvisual Parts" list and then
select "Part->Generate->Part
source" from the Menubar.
4. Now invoke a Project Build Action.
To run the sample project, see How to
run the sample project above.
From the command line:
Start the Visual Builder component of
VisualAge C++ by typing:
icsvb
From the main Visual Builder Window:
1. Select all the parts in the "Visual
Parts" list, except the
"Contractview" part, and then
select "Part->Generate->Part
source" from the Menubar.
2. Select only the "OAMain" part in
the "Visual Parts" list and then
select "Part->Generate->main() for
part" from the Menubar.
3. Deselect all the visual parts and
select all the parts in the
"Nonvisual Parts" list and then
select "Part->Generate->Part
source" from the Menubar.
4. From an OS/2 command line, make
this sample's directory the current
directory and invoke the BUILD.CMD
program by typing:
BUILD
HOW TO INSPECT THE VISUAL PARTS USING THE VISUAL BUILDER
There are three "class files" that make up
the application, CONTRACT.VBB,
OANONVIS.VBB, and OAWIN.VBB.
1. Start the Visual Builder Tool -- from
the command line, type:
icsvb
or from the project view of the
sample:select Visual from the Project
pulldown.
2. When the Visual Builder Window
appears, select from the Menubar the
"File->Load" option.
3. The Load Files dialog will appear with
a list of "class files" that may be
loaded. Select from the list the files
listed in step number one (1) above
and press the "OK" button.
4. Now that you have loaded the
necessary files, from the "Loaded Part
Files" list in the Visual Builder Window
select CONTRACT.VBB, OANONVIS.VBB,
and OAWIN.VBB . This will cause the
application's visual parts to be
displayed in the "Visuals" list of this
Window.
5. You may now select any or all of
these parts from the "Visual Parts" list
and then select "Part->Open" from the
Menubar to open these parts for
viewing and/or editting.
SOFTWARE/HARDWARE PREREQUISITES:
IBM VisualAge C++
OS/2 2.1 or Warp
DB2/2 1.2
IBM or compatible 486 and up.
ADDITIONAL INFORMATION:
For more information on the creation and
use of projects in the WorkFrame
environment, see the VisualAge C++ for
OS/2 User's Guide.
For more information on the the Visual
Builder, see the VisualAge C++ for OS/2
Visual Builder User's Guide.
Both books can be found online. To access an
online book, simply open the main VisualAge
C++ desktop folder, then open the Information
Folder inside. To view a book, double-click on
that book's icon.
REQUIRED FILES:
README
BUILD CMD
OAMAIN EXE
CONTRACT CPV
CONTRACT HPV
CONTRACT INI
CONTRACT VBB
CONTRCTR CPV
CONTRCTR HPV
CONTRCTR INI
OAFWCLR CPV
OAFWCLR HPV
OANBCLR CPV
OANBCLR HPV
SKILL CPV
SKILL HPV
SKILL INI
SKILLB CPV
SKILLB HPV
CPPOV33 HLP
CPPOV33 IPF
OANONVIS VBB
OAWIN VBB
CPPOV33R DLL