Run the tutorial in PowerBuilder

Note

Before you deploy the PowerBuilder tutorial application as a Windows Forms application, make sure that the application runs successfully in the PowerBuilder development environment. The complete tutorial application is included in the PowerBuilder installation folder. To run the tutorial application successfully, you must have installed SQL Anywhere software and you must be able to connect to the EAS Demo DB V125 database.

  1. Select Programs>Sybase>PowerBuilder 12.5>PowerBuilder 12.5 from the Windows Start menu.

  2. Select Open Workspace from the File menu.

  3. Navigate to the My Documents\Sybase\PowerBuilder 12.5\Tutorial\Solutions directory, select MyWorkspace.pbw, and click Open.

    The workspace containing the pbtutor.pbt application target opens in PowerBuilder. This target contains two library files (pbtutor.pbl and tutor_pb.pbl) with all the objects used in the tutorial application.

  4. Click the Run button in the PowerBar.

    The Login window for the tutorial application displays.

  5. Enter dba as the value for the user ID and sql as the password.

    The MDI frame window for the tutorial with a menu and tool bar displays.

  6. Test some menu and toolbar items to make sure they work, then terminate the application.

    For example, select File>Report>Maintain Customers, use the toolbar icons or the Edit menu items to insert a new customer and update the database, then open a new instance of the Maintain Customers report to check that the new row was added.