Web Forms Targets – PB Docs 120
Web Forms Targets This part describes how to create and deploy Web Forms applications. PowerBuilder Web Forms Applications The PowerBuilder Web Forms solution employs ASP.NET technology. It has a three-tier architecture, with the browser client as the front end, and the PowerBuilder components on the IIS server as the middle tier. The database tier remains…
Using point and click – PB Docs 120
Using point and click Users can click graphs during execution. The DataWindow control provides a method called ObjectAtPointer that stores information about what was clicked. You can use this method in a number of ways in mouse events. For example, with the ObjectAtPointer information, you can call other graph methods to report to the user…
Using graphs – PB Docs 120
Using graphs In PowerBuilder, there are two ways to display graphs: In a DataWindow, using data retrieved from the DataWindow data source In a graph control in a window or user object, using data supplied by your application code This chapter discusses the graph control and describes how your application code can supply data for…
The PowerBuilder environment – PB Docs 120
The PowerBuilder environment When you start PowerBuilder for the first time, the Welcome to PowerBuilder dialog box lets you create a new workspace with or without targets: When PowerBuilder starts, it opens in a window that contains a menu bar and the PowerBar at the top and the System Tree and Clip window on the…
Supported Datatypes – PB Docs 120
Supported Datatypes Simple and complex datatypes are convertible between .NET clients and EAServer components. This table describes the basic CORBA IDL types supported and their corresponding PowerScript type: CORBA IDL type Mode PowerScript type boolean in, return Boolean by value out, inout Boolean by reference char in, return Char by value out, inout Char by…
Modifying graph properties – PB Docs 120
Modifying graph properties When you define a graph in the DataWindow painter, you specify its behavior and appearance. For example, you might define a graph as a column graph with a certain title, divide its Value axis into four major divisions, and so on. Each of these entries corresponds to a property of a graph….
Invoking component methods – PB Docs 120
Invoking component methods Once a connection to EAServer has been established and a proxy object or objects created, the client application can begin using the server components. Invoking a component method To invoke a method on most component types, you need to execute the PowerScript statements required to perform these operations: Use the CreateInstance method…
Exception handling – PB Docs 120
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 pbejbclient120.pbx can also throw exceptions when, for example, connection to the server fails or the component cannot be located or created. Building…
Deploying a component to EAServer – PB Docs 120
Deploying a component to EAServer PowerBuilder VM must be available on the server You can deploy components to EAServer hosts running Windows, UNIX, and Linux. The version of the PowerBuilder VM on the development computer must also be available on the server. To find out which versions of EAServer and the PowerBuilder VM are available…
DataWindow Web Control for ActiveX – PB Docs 120
DataWindow Web Control for ActiveX The following files must be deployed to your Web server if you are using the DataWindow Web control for ActiveX. Table 36-13: PowerBuilder file for DataWindow Web control for ActiveX Name Required for psdwc120.cab CAB file containing an Open Software Distribution information file and DLLs for the Web ActiveX and…