Lesson 1: Creating a Basic Hello World Application  Lesson 3: Customizing the PocketBuilder Environment


Run the application on the device

Note

Now you can run the application on the Pocket PC device.

  1. On the Pocket PC device, tap the Start menu.

  2. Tap Programs and then tap the basic_tutorial application icon.

    NoteAnother way to run the application You can also tap the Start menu, then tap the PocketBuilder 2.0 menu, and then tap the application you want to start—in this case basic_tutorial.exe.

    The Hello World application starts.

    Shown is the Customer window titled Maintain Customers 1. Across the top half of the screen are the column headings Customer I D, First Name, Last Name, and Company Name. They have rows of actual data and a hand icon at the left points to the top row. The bottom half of the screen shows data in labeled text boxes on the left side for Customer I D, First Name, Last Name, Company Name, and Phone Number. On the right side are labeled text boxes with data for Address and City, a drop down for State set to NJ, and then a text box with data for Zip Code.
  3. Tap the OK button.

    The text Hello World displays in the Pocket PC window.

    Shown is the Customer window titled Maintain Customers 1. Across the top half of the screen are the column headings Customer I D, First Name, Last Name, and Company Name. They have rows of actual data and a hand icon at the left points to the top row. The bottom half of the screen shows data in labeled text boxes on the left side for Customer I D, First Name, Last Name, Company Name, and Phone Number. On the right side are labeled text boxes with data for Address and City, a drop down for State set to NJ, and then a text box with data for Zip Code.
  4. Tap the circular ok button (the one on the menu at the far right).

    The Hello World application closes and you return to the Programs directory.

  5. Tap the Close button to close the Programs directory.

    The application closes and you return to the Pocket PC Start menu.

    When you exit and restart PocketBuilder, you might want to have PocketBuilder in the state it was in when you exited, with the workspace and painters you were working in open.

  6. In PocketBuilder, select Tools>System Options from the menu bar and then click the Workspaces tab.

  7. Make sure that the Reload Workspace on Startup and the Reload Painters When Opening Workspace check boxes are selected.

  8. Click OK.

    Now when PocketBuilder starts up, it opens the workspace and the painters that were open when you exited. If your were coding in PocketBuilder when you exited, the last script you were working on opens at the last line you edited.





Copyright © 2004. Sybase Inc. All rights reserved. Lesson 3: Customizing the PocketBuilder Environment

View this book as PDF