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 Web 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 PB105.EXE) in the Sybase>PowerBuilder 10.5 path

    or

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

    NoteIf the Welcome to PowerBuilder dialog box displays You can select the Don’t Show This Dialog Again check box to keep PowerBuilder from displaying the welcome dialog box every time you start PowerBuilder. Select the Reload Last Workspace On Starting PowerBuilder check box to load the most recently used workspace each time you start a PowerBuilder session. Then click Close This Dialog.

    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 10.5 folder.

    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 ).
  5. Type MyWorkspace in the File name text box.

    Click Save.

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