Powerbuilder Documentation

Exception handling – PB Docs 2017

Exception handling Errors that occur in the execution of a method of an EJB component are mapped to exception proxies and thrown to the calling script. The methods of all the classes in pbejbclient170.pbx can also throw exceptions when, for example, connection to the server fails or the component cannot be located or created. Building EJB…

About PBDOM – PB Docs 2017

About PBDOM PBDOM is the PowerBuilder implementation of the Document Object Model (DOM), a programming interface defining the means by which XML documents can be accessed and manipulated. Although PBDOM is not an implementation of the World Wide Web Consortium (W3C) DOM API, it is very similar. The PBDOM PowerBuilder API can be used for…

PBDOM_OBJECT – PB Docs 2017

PBDOM_OBJECT The PBDOM_OBJECT class represents any node in an XML node tree and serves as the base class for specialized PBDOM classes that represent specific node types. The DOM class that corresponds to PBDOM_OBJECT is the Node object. PBDOM_OBJECT contains all the basic features required by derived classes. A node can be an element node,…

Accessing data properties – PB Docs 2017

Accessing data properties Contents Getting information about the data Saving graph data Modifying colors, fill patterns, and other data To access properties related to a graph’s data during execution, you use PowerScript graph functions. The graph functions related to data fall into several categories: Functions that provide information about a graph’s data Functions that save data…

Deploying 64-Bit Windows Applications – PB Docs 2017

Deploying 64-Bit Windows Applications Create 64-bit native applications in PowerBuilder. Usage There is no special target for 64-bit native applications. To build a 64-bit application, select the platform in the Project painter General tab. If you need to deliver both 32-bit and 64-bit versions of your application, you should use separate projects and separate folders…

Manipulating Graphs – PB Docs 2017

Manipulating Graphs Contents Using graphs Populating a graph with data Modifying graph properties Accessing data properties Using point and click About this chapter This chapter describes how to write code that allows you to access and change a graph in your application at runtime. Document get from Powerbuilder help Thank you for watching.

PowerBuilder extensions – PB Docs 2017

PowerBuilder extensions Several PowerBuilder extension files are provided with PowerBuilder 2017 R3. If your application uses one of these extensions, you must deploy the files listed in the following table. Extension Files PowerBuilder Document Object Model pbdom170.pbx, PBXerces170.dll, xerces-c_2_8.dll, xerces-depdom_2_8.dll EJB client pbejbclient170.pbx, pbejbclient170.jar SOAP client for Web services ExPat170.dll, libeay32.dll, ssleay32.dll, xerces-c_2_8.dll, xerces-depdom_2_8.dll, EasySoap170.dll,…

Adding controls – PB Docs 2017

Adding controls All windows serving as the basis for a form style have at least one DataWindow control. In addition, you can add any other controls that you can add to standard PowerBuilder windows, such as command buttons, user objects, text, edit boxes, pictures, and drawing objects. Users of the form can move the controls…

Changing the object in the control – PB Docs 2017

Changing the object in the control In the painter, you can change or remove the object in the control. To delete the object in the control: Select Delete from the control’s pop-up menu. The control is now empty and cannot be activated. Do not select Clear — it deletes the control from the window. To…

Using the Preview tab to connect in a PowerBuilder application – PB Docs 2017

Using the Preview tab to connect in a PowerBuilder application The Preview tab page in the Database Profile Setup dialog box makes it easy to generate accurate PowerScript connection syntax in the development environment for use in your PowerBuilder application script. As you complete the Database Profile Setup dialog box, the correct PowerScript connection syntax…