Create a new workspace

Note

The workspace is where you build, edit, and debug PocketBuilder targets. You can build several targets within a single workspace. You can also run the targets from the desktop.

Now you start PocketBuilder and create a new workspace.

  1. Double-click the PocketBuilder icon on the desktop (representing PK25.EXE) in the Sybase>PocketBuilder 2.5 path

    or

    Select Programs>Sybase>PocketBuilder 2.5>PocketBuilder IDE from the Windows Start menu.

    NoteIf the Welcome to PocketBuilder dialog box displays Select the Don’t Show This Dialog Again check box if you want to keep PocketBuilder from displaying the Welcome dialog box every time you start PocketBuilder. Select the Reload Last Workspace On Starting PocketBuilder check box if you want PocketBuilder to load the most recently used workspace when you start a PocketBuilder session. When you are finished with the Welcome dialog box, click Close This Dialog.

    The PocketBuilder development environment displays.

    If this is the first time you are opening PocketBuilder 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 the PowerBuilder development environment. At top is a menu bar with the options File, Run, Tools, Window, and Help. Below this is a tool bar, then, at left, is a System Tree area with only a top-level entry that says No Workspace. At bottom left is a blank clip window with icons and columns for Name and Preview. At right is a large blank work area.
  2. Select New from the File menu

    or

    Click the New button in the PowerBar.

    The Workspace page of the New dialog box displays.

    Shown is the New dialog box. It is open to the Workspace tab. The only icon on this tab is the Workspace icon. It allows you to create a new workspace.

    The only option in the Workspace page is Workspace, so it is already selected.

    NoteIf the New dialog box displays a different page PocketBuilder 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 displays by clicking the Workspace tab.

  3. Click OK.

    The New Workspace dialog box displays.

  4. Navigate to the \PocketBuilder 2.5\Tutorial\HelloWorld directory.

    The Tutorial directory is located under the PocketBuilder 2.5 directory.

    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 basic_tutorial in the File name text box.

  6. Click Save to save the new workspace as basic_tutorial in the \PocketBuilder 2.5 \Tutorial\HelloWorld directory.

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