home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / msysjour / vol04 / 02b / project / pmanual.txt < prev    next >
Text File  |  1988-10-21  |  39KB  |  1,123 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                                           
  10.  
  11.  
  12.  
  13.                                           
  14.  
  15.  
  16.  
  17.                                           
  18.  
  19.  
  20.  
  21.                                  P C - P r o j e c t
  22.                                           
  23.                                      User Manual
  24.  
  25.  
  26.  
  27.                                           
  28.  
  29.  
  30.  
  31.                                          by
  32.                                     Zack Urlocker
  33.                                           
  34.  
  35.  
  36.  
  37.                                           
  38.  
  39.                                             
  40.                                     Copyright 1988
  41.                                  The Whitewater Group
  42.                                  906 University Place
  43.                                 Evanston, IL 60201 USA
  44.                                             
  45.                                      (312)491-2370
  46.                                             
  47.                                             
  48.                                             
  49.                                   All rights reserved
  50.                                             
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.                                             
  74.  
  75.  
  76.           Table of Contents
  77.  
  78.  
  79.             Chapter 1 - Getting Started...............................2
  80.  
  81.             1.0 How to use this manual................................2
  82.             1.1 Introduction to PC-Project............................2
  83.             1.2 PC-Project features...................................2
  84.             1.3 Files on disk.........................................3
  85.             1.4 PC-Project installation...............................3
  86.             1.5 Installed files.......................................4
  87.             1.6 Windows installation..................................4
  88.             1.7 Starting PC-Project...................................4
  89.             1.8 Suggestions...........................................5
  90.             1.9 About Actor...........................................5
  91.  
  92.             Chapter 2 - Using PC-Project..............................6
  93.  
  94.             2.1 An overview of project management.....................6
  95.             2.2 Creating a project with PC-Project....................7
  96.             2.3 Overriding the calculated early start and late finish.9
  97.             2.4 Saving and loading projects...........................9
  98.             2.5 Other views of the project............................9
  99.             2.6 Assigning costs.......................................10
  100.             2.7 Estimating task time with PERT........................11
  101.             2.8 The Options menu......................................11
  102.             2.9 Tips for managing a project...........................11
  103.             2.10 Command reference....................................12
  104.  
  105.             Chapter 3 - Examining the Source Code.....................13
  106.  
  107.             3.1 Introduction..........................................13
  108.             3.2 If you don't have Actor...............................13
  109.             3.3 If you have Actor.....................................14
  110.             3.4 Learning more.........................................15
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.   PC-Project User Manual  1
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.             
  140.  
  141.  
  142.           Chapter 1 - Getting Started
  143.  
  144.  
  145.             1.0 How to use this manual
  146.  
  147.             This manual is divided into three chapters: Getting Started,
  148.             Using PC-Project and Exploring the Source Code.  All users
  149.             should read chapter 1 for an overview of PC-Project and
  150.             installation instructions.  For details on managing projects
  151.             with PC-Project read chapter two.  If you are interested in
  152.             exploring how PC-Project works you should read chapter three.
  153.  
  154.             1.1 Introduction to PC-Project
  155.  
  156.             PC-Project is a complete critical path project management
  157.             application that runs under Microsoft Windows.  PC-Project is
  158.             written entirely in Actor, an object-oriented programming
  159.             language for Microsoft Windows.  Complete source code is
  160.             included.   PC-Project is freely distributed for non-commercial
  161.             use as an example Windows program.
  162.             
  163.             If any files are missing from the version you have or if you'd
  164.             like to get the latest version, you can order it directly from
  165.             me at The Whitewater Group at the address given below.  There
  166.             is a nominal charge of $5.00 to the U.S. and $10 elsewhere.
  167.  
  168.             1.2 PC-Project features
  169.  
  170.             PC-Project is a full-featured project management system.  It
  171.             can be used to plan and monitor almost any type of project.
  172.             Features include the following:
  173.             
  174.             --Easy to use pulldown menus and graphical user interface.
  175.             --Full mouse and keyboard interface.
  176.             --Can optionally use Lotus 1-2-3 style commands.
  177.             --Can view a project as a PERT (network) diagram, a Gantt
  178.               chart, a list of activities or a list of resources.
  179.             --Automatically recalculates the critical path of a project
  180.               using CPM or PERT algorithms.
  181.             --Can allocate costs to tasks using either fixed costs or by
  182.               assigning resources with a fixed and/or variable cost
  183.               component.
  184.             --PC-Project can use LIM 3.2 expanded memory if available.
  185.             --Full source code included.
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.   PC-Project User Manual  2
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.             1.3 Files on disk
  206.  
  207.             The files on this disk are:
  208.              READPROJ.TXT   -A "readme" file of quick instructions
  209.              INSTALL.BAT    -Installation program
  210.              ZOO.EXE        -Zoo compression utility program.
  211.              PROJECT.ZOO    -A compressed file that contains PC-Project
  212.             
  213.             (The ZOO file also contains the READPROJ.TXT and INSTALL.BAT
  214.             file for easy electronic distribution.)
  215.  
  216.             1.4 PC-Project installation
  217.  
  218.             If you received this disk directly from the Whitewater Group,
  219.             there is an INSTALL.BAT program on the disk.  To install type:
  220.             
  221.                A: INSTALL A: C: C:\ACTOR
  222.             
  223.             If you downloaded this program from a bulletin board system,
  224.             then follow these instructions.  You will need the ZOO.EXE
  225.             utility which should be available on the BBS also.
  226.             
  227.             If you don't have Actor make 4 subdirectories as shown below:
  228.                MD ACTOR
  229.                CD ACTOR
  230.                MD CLASSES
  231.                MD ACT
  232.                MD RES
  233.             
  234.             Then install the application and the source code by typing
  235.                CD ACTOR
  236.                ZOO x/ PROJECT.ZOO
  237.             
  238.             Zoo works like ARC but is public domain.  Use the command
  239.                ZOO h
  240.             for help.
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.   PC-Project User Manual  3
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.             1.5 Installed files
  272.  
  273.             During the installation process the following files will be
  274.             created on your hard disk.
  275.             
  276.             PMANUAL.TXT   -This file
  277.             PDESIGN.TXT   -A text file describing the design of PC-Project
  278.             PROJECT.EXE   -Executable PC-Project program file
  279.             PROJECT.IMA   -Sealed off image file required to run above
  280.             *.PRJ         -Various test files
  281.             
  282.             If you installed the source code, the following files will also
  283.             be found:
  284.             
  285.             PROJ.LOD      -A "load file" used if you have Actor
  286.             PROJSEAL.LOD  -A "load file" to seal off the application
  287.             PROJ.H        -Header file of constant definitions
  288.             CLASSES\*.CLS -Source code to the classes of PC-Project
  289.             ACT\*.ACT     -Miscelaneous Actor source code methods
  290.             RES\*.*       -Resource script files and project icon file
  291.             FIX_LE.ACT    -Fixes to Language Extensions I upto V.1.2
  292.  
  293.             1.6 Windows installation
  294.  
  295.             If you need to create large projects and ever get the error
  296.             message "Out of dynamic memory" or "Not enough memory to run"
  297.             add a new section to the WIN.INI file:
  298.                [PC-Project]
  299.                Dynamic=25
  300.             
  301.             By default, the project manager uses 25K of Dynamic memory; if
  302.             you need more (or less) just set it as shown above.
  303.             
  304.             If you have expanded memory, (LIM 3.2 or later) you should
  305.             include the flag EMS3.2=1 in the [PC-Project] section so that
  306.             the object table will be stored in EMS saving 64K of memory.
  307.             Note, if you modify the resources in PROJECT.EXE, be sure to
  308.             use the -L flag when you resource compile.
  309.  
  310.             1.7 Starting PC-Project
  311.  
  312.             PC-Project requires Microsoft Windows 2.x.  To start PC-Project
  313.             start Windows and then double click on the PROJECT.EXE file.
  314.             DON'T click on the PROJECT.IMA file since this will try to run
  315.             Actor and you may not have the resources installed in your
  316.             ACTOR.EXE file.  You can run PC-Project directly from the DOS
  317.             C> prompt by typing
  318.                WIN PROJECT.EXE
  319.             
  320.  
  321.             On some 80386 machines with older versions of Windows/386 it
  322.             may be necessary to use the /N option, e.g.
  323.                WIN386 /N PROJECT.EXE
  324.  
  325.  
  326.  
  327.  
  328.   PC-Project User Manual  4
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.             1.8 Suggestions
  338.  
  339.             Please let me know if there are any bugs or suggestions by
  340.             sending mail to The Whitewater Group at the address below.
  341.             Because PC-Project is distributed free of charge, I cannot
  342.             provide technical support beyond answering questions by mail.
  343.  
  344.             1.9 About Actor
  345.  
  346.             Actor is an object-oriented programming language for Microsoft
  347.             Windows.  Actor is a complete development system capable of
  348.             creating standalone MS-Windows applications.  No licensing fees
  349.             are required to distribute applications written in Actor.
  350.             
  351.             For more information about Actor contact:
  352.             
  353.                The Whitewater Group
  354.                906 University Place
  355.                Evanston, IL
  356.                60201  USA
  357.             
  358.                312-491-2370
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.   PC-Project User Manual  5
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.           Chapter 2 - Using PC-Project
  404.  
  405.  
  406.             2.1 An overview of project management
  407.  
  408.             Project management techniques can be used to plan any "project"
  409.             that has a start, a finish and some known steps or activities
  410.             in between.  Examples of projects include: developing software;
  411.             writing a book; hosting a dinner party and so on.
  412.             
  413.             In order to manage a project you must know all of the
  414.             activities involved in getting from the start to the end.  The
  415.             objective of project management is to create a schedule for the
  416.             project that indicates when each activity needs to start (and
  417.             finish) in order for the project to be completed in the
  418.             shortest time possible.
  419.             
  420.             The total project time is the total time of all activities on
  421.             the "critical path".  If an activity is on the critical path,
  422.             it means that any delay in its time will cause a delay in the
  423.             entire project.  Thus an important part of project management
  424.             is to determine which activities are critical, and then focus
  425.             our attention on making sure that these activities are
  426.             completed in the allotted time.  Activities which are not
  427.             critical have "slack" time.
  428.             
  429.             An example project might be moving into a house.  We can list
  430.             some of the tasks and the times required.
  431.             
  432.             --Buy the house (7 days)
  433.             --Move in (4 days)
  434.             --Paint it (2 days)
  435.             --Carpet it (5 days)
  436.             --Furnish it (14 days).
  437.             
  438.             Some of these tasks must be done before others.  For example,
  439.             we must buy a house before we can move in.  Also, we should
  440.             paint before we carpet.  Other tasks have no such dependency
  441.             and can be done in parallel.  For example, painting and
  442.             carpeting are independant of furnishing.
  443.             
  444.             Our first step in managing the project would be to create a
  445.             PERT (Project Evaluation and Review Techniques) chart.  A PERT
  446.             chart is a network diagram of the activities in the project and
  447.             indicates the sequence of activities.
  448.             
  449.             A PERT chart for moving into a house might look like the
  450.             following.
  451.             
  452.                         7      4                2       5
  453.               Start -> Buy -> Move -> Ready-> Paint-> Carpet-> End
  454.                                         |                     |
  455.                                         |        14           |
  456.                                         -----> Furnish  -------             
  457.  
  458.  
  459.  
  460.   PC-Project User Manual  6
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.             
  470.             Note that an additional activity was included called "Ready".
  471.             The activities "Ready", "Start" and "End" are known as
  472.             milestones.  Milestones are activities that, unlike tasks, take
  473.             no time or resources.  Milestones are used to mark the start or
  474.             end of significant tasks.  We use the "Ready" milestone to
  475.             indicate that we are ready to settle into our house and begin
  476.             painting and furnishing.  Although tasks can have only a single
  477.             input and output, milestones can have several.  Thus, you may
  478.             have to introduce "dummy" milestones in a project to have
  479.             different paths in a project.
  480.             
  481.             Note that "Furnish" is on the critical path since it's length
  482.             (14 days) is greater than the total time for "Paint" and
  483.             "Carpet" (7 days).  The total time of the project is thus the
  484.             time of all Tasks on the critical path which is 25 days
  485.             (7+4+14).
  486.             
  487.             The "Paint" and "Carpet" tasks would have slack time of 7 days.
  488.             Thus painting (or carpeting) could fall behind schedule by as
  489.             much as 7 days before it would become critical and impact on
  490.             the total project time.
  491.             
  492.             You can also determine the early start, early finish, late
  493.             start and late finish times of any activity or of the project.
  494.             Normally these are calculated to determine the critical path.
  495.             For activities that are crtical the early times are the same as
  496.             the late times.
  497.             
  498.             Sometimes you may wish to specify an overriding early start or
  499.             late finish time.  For example, you might set the early start
  500.             day for "Start" to be 09/01/88, meaning that the project begins
  501.             on that date.  Conversely, you could set the late finish date
  502.             for "End" to be 10/01/88 and then calculate all other dates
  503.             based on this end date.  You could also override the early
  504.             start or late finish for any activity.  This is useful if you
  505.             know, for example, that painting is scheduled to begin work on
  506.             a particular day.
  507.             
  508.             By using PC-Project the critical path, early start and late
  509.             finish dates are automatically calculated.
  510.  
  511.             2.2 Creating a project with PC-Project
  512.  
  513.             When PC-Project starts you will have an "empty" project with
  514.             just "Start" and "End" milestones.  The initial starting date
  515.             of the project is 1/1/88.  To begin a new project with a
  516.             different date, select the menu item File New.  You can select
  517.             menu commands by clicking the mouse on File then on New, or if
  518.             you prefer, by typing [Alt-F] and then N.  (You can also use
  519.             Lotus 1-2-3 style commands, e.g. / F N.)
  520.             
  521.             A dialog box will come up asking you the name of the project, a
  522.             brief description of the project and the early start (ES) and
  523.  
  524.  
  525.  
  526.   PC-Project User Manual  7
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.             late finish (LF) dates.  Type "House" as the name of the
  536.             project and enter the early start date "09/01/88".  For most
  537.             projects you will specify only the early start and let PC-
  538.             Project calculate the late finish.  You can move between the
  539.             fields in the dialog box by clicking the mouse or by pressing
  540.             [Tab] and [Shift-Tab].  When you are finished, click on the Ok
  541.             button to accept the dates (or press [Enter]) or click on the
  542.             Cancel button (or press [Esc]) to cancel.
  543.             
  544.             Next, you need to create and connect the activities of the
  545.             project by using the New Milestone and New Task menu choices.
  546.             Since the "Start" milestone is already created, you can begin
  547.             by creating the "Buy" task.  Select New Task from the menu.  A
  548.             dialog box will come up.  For now, just type in the name of the
  549.             task, "Buy", a description, the time, "7", and lastly, type in
  550.             the input "Start".  This means that "Buy" is connected to the
  551.             "Start" activity.  We'll let PC-Project calculate the early
  552.             start and late finish for us and ignore costs and resources for
  553.             now.  So just click on the Ok button to accept this activity.
  554.             If you followed the instructions the PERT diagram will now show
  555.             the "Buy" task connected to the "Start" milestone.
  556.             
  557.             In PC-Project tasks are drawn as rectangles and milestones are
  558.             drawn as rounded rectangles.  By default, the early start date
  559.             is displayed above each activity.
  560.             
  561.             You can then enter and connect the remaining activities.
  562.             
  563.                New     Name    Time   Input   Output
  564.                ---------------------------------------
  565.                Task    Move     4     Buy
  566.                Mstone  Ready          Move
  567.                Task    Paint    2     Ready
  568.                Task    Carpet   5     Paint   End
  569.                Task    Furnish 14     Ready   End
  570.             
  571.             PC-Project is "case sensitive" so that "Buy" is not the same as
  572.             "buy" or "BUY".  Type the names exactly as they appear above.
  573.             
  574.             Note that you must type in the Input field in order to connect
  575.             an activity.  If you make a mistake, you can click on the
  576.             activity with the left mouse button or move the cursor and
  577.             press [F2] or [Enter] to edit it.  If you want to delete an
  578.             activity, select the menu item Delete Activity.  PC-Project
  579.             will warn you if the activity is still connected.
  580.             
  581.             For tasks "Carpet" and "Furnish" you should also enter "End" as
  582.             the output to hookup the last milestone.  Whenever you set the
  583.             Input of an activity it also sets the Output of the connected
  584.             activity.  For example, if you click on the "Start" milestone,
  585.             you will see that it has as Output "Buy".
  586.             
  587.             When you finish connecting the activities the critical path
  588.             should appear in bold.  You can then experiment and try
  589.  
  590.  
  591.  
  592.   PC-Project User Manual  8
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.             different "what if" scenarios.  For example, click on the
  602.             "Paint" task (or move the cursor and press [F2] or [Enter]) and
  603.             change the time from 2 to 12.  Then click on the Ok button.
  604.             Notice that the critical path has been recalculated and is now
  605.             different.  Also, the early start time for "Carpet" is ten days
  606.             later.  In fact, the whole project has been delayed by a change
  607.             in the time it takes to paint.
  608.             
  609.             Remember that tasks take time and resources but milestones do
  610.             not.  Also, tasks can only have a single input or output.  Use
  611.             milestones when you need to create different paths in the
  612.             project.
  613.  
  614.             2.3 Overriding the calculated early start and late finish
  615.  
  616.             You can specify an early start (ES) or late finish (LF) date
  617.             for any activity.  If you do, this will override what is
  618.             calculated by PC-Project.  For example, if you want the project
  619.             to begin on day 12/31/87, set Start's ES to that date.  If you
  620.             want to see when things need to be done by if the project
  621.             finishes on day 9/15/88, set End's LF to that date.
  622.             
  623.             All dates are entered in MM/DD/YY or MM/DD/YYYY format.
  624.             Examples of valid dates include 09/15/88, 1/1/88, 9/01/1987.
  625.             Examples of invalid dates are 31/09/88, 01/01, and so on.
  626.             
  627.             Setting early start and late finish is not recommended for
  628.             activities in the project since it may introduce excess
  629.             slack time and prevent the critical path from being found.
  630.             
  631.             To cancel an override date, you can delete the date in the ES
  632.             or LF field of the dialog box.
  633.  
  634.             2.4 Saving and loading projects
  635.  
  636.             You can save the current project to disk by using the File Save
  637.             command or by pressing [Ctrl-S].  By default the extension .PRJ
  638.             is used.  PC-Project comes with several sample projects on
  639.             disk.  You can load these with the command File Open or by
  640.             pressing [Ctrl-O].  PC-Project will warn you if you try to exit
  641.             or load a new project without saving your old work.
  642.  
  643.             2.5 Other views of the project
  644.  
  645.             The PERT diagram is useful for creating a project and seeing
  646.             the relationships between activities.  The View menu has
  647.             choices that convey other information.  Select the View Gantt
  648.             menu item or press [F6] to see a Gantt chart.  A new window
  649.             will appear showing a timeline of the project.  Tasks are dranw
  650.             as bars with the critical time in black and slack time in gray.
  651.             Milestones are drawn as diamonds since they don't take any
  652.             time.  The critical activities also have a "*" next to their
  653.             names.  You can edit activities from within the Gantt chart by
  654.  
  655.  
  656.  
  657.  
  658.   PC-Project User Manual  9
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.             clicking on them also.  You can also press [F1] for a help
  668.             screen.
  669.             
  670.             To close the Gantt chart double click on the "system box" in
  671.             the upper left corner or press [Alt-F4].
  672.             
  673.             The View Activities command ( or press [F4]) will give a list
  674.             of all activities in the project with their name, time, slack,
  675.             early start and late finish times.
  676.             
  677.             The View Project summary command (or press [F5]) will give a
  678.             summary of the project showing the name, early and late start
  679.             and finish dates, the total time, slack and costs.  This
  680.             command uses the same dialog box as the New File command and
  681.             can be used to change the early start or late finish dates of
  682.             the project.
  683.  
  684.             2.6 Assigning costs
  685.  
  686.             You can assign costs to a project in two ways.  The easiest way
  687.             is to assign a fixed cost (in dollars) to each task.  You can
  688.             do this by filling in the Fixed Cost field when editing a task.
  689.             The View Project summary command always shows the total cost of
  690.             the project.
  691.             
  692.             A more sophisticated way of assigning costs is to use
  693.             resources.  Resources are people or objects that can have a
  694.             fixed and/or variable cost associated with their use.  Most
  695.             resources have a variable cost.  You can assign resources to a
  696.             task by filling in the Resources field when editing a task.
  697.             You don't need to create resources before using them.  PC-
  698.             Project will display a dialog box the first time a resource is
  699.             used to allow you to set the costs.
  700.             
  701.             For example, click on the "Paint" activity.  In the Resources
  702.             field type "Fred Bob Paint".  The resources should be separated
  703.             by one or more spaces.  When you click on the Ok button, a
  704.             dialog box will come up for each of the new resources "Fred",
  705.             "Bob" and "Paint".  You can enter a fixed cost (FC), variable
  706.             cost (VC), and maximum for each.  For example, we would assign
  707.             a variable cost for Fred of 50, meaning we pay him $50 per day.
  708.             Since Bob is a friend of ours, we don't have to pay him
  709.             anything, so just press [Enter] leaving the fields blank.
  710.             Paint will cost us, say $500, regardless of how many days it
  711.             takes to paint, so we would have a fixed cost and no variable
  712.             cost.
  713.             
  714.             The maximum field can be used to indicate that a particular
  715.             resource is only available for so many days.  If the resource
  716.             is overallocated, a "*" will appear next to it's name when you
  717.             View All Resources (or press [F3]).  The View All Resources
  718.             command also shows where resources are used and how many days
  719.             they are used for.
  720.             
  721.  
  722.  
  723.  
  724.   PC-Project User Manual  10
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.             If we assign Bob and Fred to another task, such as "Move",
  734.             their fixed and variable costs will automatically be used to
  735.             calculate the cost of the task and the total project cost.
  736.             
  737.             You can change the fixed or variable cost of a resource by
  738.             using the View Resource command.  This will change the rates
  739.             and update all tasks that use the resource as well as the total
  740.             project cost.  You can also delete a resource with the Delete
  741.             Resource command.  PC-Project will warn you if the resource is
  742.             still in use.
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.   PC-Project User Manual  11
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.             2.7 Estimating task time with PERT
  800.  
  801.             Sometimes you may not know the exact time required to complete
  802.             a task.  You can create a PERTTask which estimates time based
  803.             on the likely, best and worst case scenarios.  When you need to
  804.             create a task with an estimated time, select New PERTTask
  805.             rather than New Task.  Once you fill in the fields for likely,
  806.             best and worst times, you can use a PERTTask just like a
  807.             regular task.  You can also freely mix PERTTasks with regular
  808.             Tasks with known times.  The file PERT.PRJ shows an example of
  809.             a project with estimated times.
  810.  
  811.             2.8 The Options menu
  812.  
  813.             The Options menu has several miscelaneous choices.  For
  814.             example, you can turn off automatic recalculation of the
  815.             critical path.  For large projects, this can speed up data
  816.             entry so that you can make several changes and then recalculate
  817.             the critical path by selecting Options Recalc or by pressing
  818.             [F9].
  819.             
  820.             You can also choose Options Display settings to view the late
  821.             finish, slack, time, or cost for each activity.  You can select
  822.             to view something above and/or below each activity in the PERT
  823.             diagram.  By default the early start time is shown above each
  824.             activity.  However, you could change this to suit your own
  825.             tastes, displaying perhaps the time on top and the cost below.
  826.  
  827.             2.9 Tips for managing a project
  828.  
  829.             --List all of the tasks and milestones on paper first.
  830.             --Remember, tasks can only have a single input and output.
  831.             --Use milestones whenever splitting or joining is required.
  832.             --Split lengthy tasks into smaller ones for flexibility.
  833.             --If costing will be done, identify all resources.
  834.             --Create a PERT diagram of the project from left to right.
  835.             --Use a Gantt chart to see slack times.
  836.             --Focus attention on tasks on the critical path.
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.   PC-Project User Manual  12
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.             2.10 Command reference
  866.  
  867.             All menu commands can be executed by clicking with the mouse.
  868.             Alternatively you can use the Alt key and the underlined
  869.             letters to execute a command.  For example, [Alt-F] selects the
  870.             File menu.  You can also use Lotus 1-2-3 style commands, e.g. /
  871.             F S for File Save.
  872.             
  873.             Some menu items also have accelerator keys that directly
  874.             execute the command.  For example, [Ctrl-N] (shown as ^N)
  875.             executes the File New command.  Similarly [F9] recalculates the
  876.             critical path.  Press [Esc] to cancel a command.
  877.             
  878.             When a menu is not selected, the cursor keys will move the
  879.             arrow cursor in the project window.  This is handy if you don't
  880.             have a mouse.  Clicking the left mouse button on an activity or
  881.             pressing [F2] or [Return] will edit the activity.
  882.             
  883.             Menu choice      Key   Description
  884.             ----------------------------------------------------------
  885.             Help!             F1   --Display help screen
  886.             
  887.             File
  888.               New...          ^N   --Create a new project
  889.               Open...         ^O   --Open an existing project
  890.               Save            ^S   --Save the current project
  891.               Save As...           --Save with a new name
  892.               Print           ^P   --Print the project
  893.               About Actor          --Information about Actor
  894.             
  895.             New
  896.               Milestone            --Create and connect a new Milestone
  897.               Task                 --Create and connect a new Task
  898.               PERTTask             --Create a new Task with estimated time
  899.             
  900.             Delete
  901.               Activity             --Delete an existing Milestone or Task
  902.               Resource             --Delete an existing resource
  903.             
  904.             View
  905.               A Resource           --Edit a resources costs
  906.               All Resources    F3  --See where all resources are used
  907.               Activities       F4  --See all activities, costs, dates
  908.               Project summary  F5  --See project start, finish, cost, slack
  909.               Gantt chart      F6  --Open or close a Gantt chart timeline
  910.             
  911.             Options
  912.               Display settings F7  --Select start, finish, cost, etc
  913.               Auto recalc      F8  --Automatically recalculate the project
  914.               Recalc!          F9  --Recalculate the critical path
  915.               ShowRoom!        F10 --Show how much memory Windows has
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.   PC-Project User Manual  13
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.             
  932.  
  933.  
  934.           Chapter 3 - Exploring the Source Code
  935.  
  936.  
  937.             3.1 Introduction
  938.  
  939.             This section gives a brief introduction to exploring the source
  940.             code of PC-Project.  This is not necessary in order to use PC-
  941.             Project, but it can give you some insight into how programs are
  942.             written in Actor.  For more information about PC-Project's
  943.             design read the file PDESIGN.TXT.
  944.  
  945.             3.2 If you don't have Actor
  946.  
  947.             Actor source code is stored in plain ASCII text files and can
  948.             be viewed in any text editor.  Source code is stored in class
  949.             files (*.CLS) in the CLASS directory and as Actor code files
  950.             (*.ACT) in the ACT directory.   There is also a header file
  951.             (*.H) used for constant definitions.  The resource scripts
  952.             (*.RC) are in the RES directory.
  953.             
  954.             Class files contain all of the code for a particular class.
  955.             For example, the file CLASSES\NETWORK.CLS defines all of the
  956.             methods that objects of class Network understand.  Each method
  957.             definition is separated by two exclamation marks (!!) known as
  958.             a "chunk mark".  These are placed automatically in your code
  959.             when you use the Actor development environment.  Each class
  960.             file also begins with an "inherit" message.  An inherit
  961.             statement such as
  962.             
  963.                inherit(Network, #Project,
  964.                       #(cost                  /* sum of all costs */
  965.                         resources             /* used by tasks */
  966.                         autoCalc              /* boolean is recalc on? */
  967.                        ), 2, nil)!!
  968.             
  969.             means that a new ancestor of the existing class Network, called
  970.             Project, is being created.  Project includes three new instance
  971.             variables: cost, resources and autoCalc.  All of the methods
  972.             defined for class Network as well as the instance variables,
  973.             are then inherited by class Project.
  974.             
  975.             You will also see "now" messages in the .CLS and .ACT files.
  976.             These are also automatically generated by the Actor environment
  977.             and indicate the class for which methods are being defined.
  978.             
  979.             Actor code files (*.ACT) are used to hold miscelaneous methods.
  980.             For example, PROJ.ACT contains method definitions added to
  981.             system classes.  The header file PROJ.H contains "#define"
  982.             statements similar to what is used in C.  The header file is
  983.             used both by Actor and by the resource compiler.
  984.             
  985.  
  986.  
  987.  
  988.   PC-Project User Manual  14
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.             Actor source code should be quite understandable to anyone
  998.             experienced with C or Pascal.  Comments are within /* and */.
  999.             Actor has if/else statements, loop/endLoop, select/case etc.
  1000.  
  1001.             3.3 If you have Actor
  1002.  
  1003.             PC-Project has been tested with Actor 1.2 under Windows 2.03
  1004.             and Windows/286 2.1.  It should run correctly under Actor 1.1
  1005.             also, but requires Windows 2.x.
  1006.             
  1007.             To run the application interactively from Actor, you will need
  1008.             to include the resources used by the application into
  1009.             ACTOR.EXE.  To do so copy PROJ.RC to ACTOR.RC or cut and paste
  1010.             the resources into ACTOR.RC and then run the resource compiler
  1011.             by typing the following commands from the ACTOR directory at
  1012.             the DOS C> prompt.
  1013.             
  1014.                CD RES
  1015.                COPY PROJ.RC ACTOR.RC
  1016.                RC ACTOR.RC
  1017.                COPY ACTOR.EXE ..
  1018.                CD ..
  1019.             
  1020.             The source code uses the Language Extensions I object storage
  1021.             facility.  If you don't have Language Extensions I you will
  1022.             have to comment out the file names in the LOD files and you
  1023.             will not be able to load & save projects.  Make sure you have
  1024.             the latest version of Language Extensions I, since otherwise
  1025.             you may get a "Bad ID Error" when loading projects from disk.
  1026.             If you need fixes to version 1.0 to 1.02 of Language
  1027.             Extensions, use the file FIX_LE.ACT included in this system and
  1028.             add it to the LOD files.
  1029.             
  1030.             If you want to examine the code from within Actor, load a
  1031.             "clean" copy of Actor, then load the load file.  In the
  1032.             workspace type
  1033.                
  1034.                load("proj.lod");
  1035.                load();
  1036.             
  1037.             This takes a while, but will reload all of the classes.  You
  1038.             can then view all of the source code in the Browser.  You can
  1039.             create a new project window by typing
  1040.             
  1041.                PW := defaultNew(ProjWindow, "PC-Project");
  1042.                show(PW,1);
  1043.             
  1044.             To "seal off" the application double click on SMALL.IMA and
  1045.             type
  1046.                
  1047.                load("projseal.lod");
  1048.                load();
  1049.             
  1050.             This also takes a few minutes.
  1051.  
  1052.  
  1053.  
  1054.   PC-Project User Manual  15
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.             
  1064.             If you modify the resources to the PROJECT.EXE file you should
  1065.             resource compile with the -L option so that the application
  1066.             will continue to make use of expanded memory.  For example,
  1067.                
  1068.                RC -L PROJECT
  1069.                
  1070.             will recompile the resource file PROJECT.RC into PROJECT.EXE
  1071.             and set the LIM3.2 flag.
  1072.  
  1073.             3.4 Learning more
  1074.  
  1075.             If you're interested in the design of PC-Project, please refer
  1076.             to the text file PDESIGN.TXT.  I encourage you to explore the
  1077.             source code and learn more about object-oriented programming
  1078.             and Windows.  It's safe to say that if PC-Project had been
  1079.             developed in C instead of Actor it probably would have taken
  1080.             about twice as long to complete and the end result would not
  1081.             have been as good.
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.   PC-Project User Manual  16
  1121.  
  1122.  
  1123.