Create a new workspace

Note

The workspace is where you build, edit, debug, and run PowerBuilder targets. You can build several targets within a single workspace, including JSP targets, which are covered in Part 3 of this tutorial.

Now you start PowerBuilder and create a new workspace.

NoteFirst read the Release Bulletin for this release Any last-minute items are documented in the Release Bulletin. To make sure you have all the files necessary to complete the tutorial, see “Setting up for the tutorial”.

  1. Double-click the PowerBuilder icon (representing PB110.EXE) in the Sybase>PowerBuilder 11.0 path

    or

    Select Programs>Sybase>PowerBuilder 11.0>PowerBuilder 11.0 from the Windows Start menu.

    The Welcome to PowerBuilder dialog box displays.

    Shown is a window with many types of controls. Shown at  left is a DataWindow control with horizontal and vertical track bars for scrolling and three columns of data. On the right is an Options group box with static text controls containing descriptive labels such as Line Size and Page Size for edit mask controls that display numeric values and up and down arrows representing Spin Controls. Next is a check box labeled Show Slider, and two smaller group boxes for Horizontal and Vertical Tick Position with radio buttons. Under the main group box is an Exit command button.

    The Welcome to PowerBuilder dialog box allows you create a new workspace and add a new target or an existing target to the workspace.

    NoteIf you do not want PowerBuilder to display the dialog box again You can leave the “Show this dialog box at startup with no workspace” check box unchecked to keep PowerBuilder from displaying the welcome dialog box every time you start PowerBuilder. Select the “Reload last workspace at startup” check box to load the most recently used workspace each time you start a PowerBuilder session. Then click “Close this dialog box.”

    The PowerBuilder development environment displays.

    If this is the first time you are opening PowerBuilder on your machine, you see only a top-level entry in the System Tree to indicate that no workspace is currently open. Otherwise, the System Tree might show a workspace with targets and objects in it.

    Shown is a window with many types of controls. Shown at  left is a DataWindow control with horizontal and vertical track bars for scrolling and three columns of data. On the right is an Options group box with static text controls containing descriptive labels such as Line Size and Page Size for edit mask controls that display numeric values and up and down arrows representing Spin Controls. Next is a check box labeled Show Slider, and two smaller group boxes for Horizontal and Vertical Tick Position with radio buttons. Under the main group box is an Exit command button.
  2. Select New from the File menu

    or

    Click the New button in the PowerBar.

    The Workspace page of the New dialog box displays.

    PowerBuilder displays the page of the New dialog box that was used before the dialog box was last closed. In this exercise, make sure that the Workspace page of the New dialog box displays.

    Shown is the Workspace tab page of the New dialog box, which has additional tabs for Target, PB Object, Web, DataWindow, Database, Project, and Tool.
  3. Select Workspace from the Workspace page of the New dialog box.

    Click OK.

    The New Workspace dialog box displays.

  4. Navigate to the Tutorial folder.

    The Tutorial folder is located directly under the PowerBuilder 11.0 folder. The solutions for the tutorial are in the Tutorial folder, but you will create your own solutions as you work your way through the tutorial.

  5. Type MyWorkspace in the File name text box.

    Shown is the New Workspace dialog box. At top is a drop down labeled Save In with the entry Tutorial displayed. At bottom is a text box for File name with My Workspace displayed, and then a Save as type drop down with the entry Workspace Files ( * dot p b w ).
  6. Click Save.

    The New Workspace dialog box closes and the workspace you created appears as the first item in the System Tree.