Debugging the client – PB Docs 120
Debugging the client The createJavaVM method of the JavaVM class takes a boolean value as a second argument. If this second argument is “true”, execution information, including class loads, are logged to the file vm.out in the directory where the application resides:
|
1 |
// global variable: JavaVM g_jvm<br>string classpath<br>boolean isdebug<br> <br>classpath = "d: estsejbsample;"<br>isdebug = true<br>g_jvm.createJavaVM(classpath, isdebug) |
Document get from Powerbuilder help Thank you for watching.
Overview of debugging and running applications – PB Docs 125
Overview of debugging and running applications After you build all or part of an application and compile and save its objects, you can run the application. The PowerBuilder development environment provides two ways to run an application: in debug mode and in regular mode. Debug mode In debug mode, you can insert breakpoints (stops) in…
Properties for .NET Web Service project: General tab – PB Docs 126
Properties for .NET Web Service project: General tab Description Specify general properties of the .NET Web service component project. Options Web service virtual directory Specify the name of the directory under the IIS virtual root Web site where you want to deploy the Web service. Web service URL preview Displays the URL for the Web…
Date display formats – PB Docs 150
Date display formats Date display formats can have two sections. The first is required and contains the format for dates; the second is optional and specifies how to represent NULLs:
|
1 |
date-format;null-format |
Special characters Table 22-4 shows characters that have special meaning in date display formats. Table 22-4: Characters with special meaning in data display formats…
Using the file editor – PB Docs 70
Using the file editor PowerBuilder provides a text editor that is always available. Using the editor, you can view and modify text files (such as initialization files and tab-separated files with data) without leaving PowerBuilder. To open the file editor: Press shift+f6 anywhere in PowerBuilder. or Click the Edit button in the PowerBar. The File…
Using database profiles – PB Docs 120
Using database profiles What is a database profile? A database profile is a named set of parameters stored in your system registry that defines a connection to a particular database in the PowerBuilder development environment. You must create a database profile for each data connection. What you can do Using database profiles is the easiest…
Exporting metadata – PB Docs 125
Exporting metadata You can specify that metadata in the form of a DTD or schema should be exported when you save the DataWindow object. You can choose to save the metadata with the XML or in a separate file. If you export metadata as a schema, you can associate it with a namespace. See “Associating…
Properties for .NET Windows Forms Application: Security tab – PB Docs 126
Properties for .NET Windows Forms Application: Security tab Description If you want to deploy an application to the Windows Vista operating system that meets the certification requirements of the Windows Vista Logo program, you must follow User Account Control (UAC) guidelines. The executable file must have an embedded manifest that defines the execution level and…
Using zoom in the DataWindow painter – PB Docs 150
Using zoom in the DataWindow painter You can zoom the display in and out in four views in the DataWindow painter: the Design view, Preview view, Data view, and Column Specifications view. For example, if you are working with a large DataWindow object, you can zoom out the Design view so you can see all…
Example 1: creating a gray bar effect – PB Docs 70
Example 1: creating a gray bar effect The following DataWindow object shows alternate rows with a light gray bar. The gray bars make it easier to track data values across the row: Adding a rectangle control To create the gray bar effect, you would add a rectangle control to the detail band and size it…