Powerbuilder Documentation 9.0

Powerbuilder Documentation 9.0

Using the style – PB Docs 90

Using the style Once you complete a form style (or at least have a version that you want to test), you can put it to use. To make a style available to InfoMaker users: Make sure the window and menu that define the form style are in a library that is accessible to InfoMaker users…

Chapter 26 Building a COM, MTS, or COM+ Component – PB Docs 90

Chapter 26 Building a COM, MTS, or COM+ Component About this chapter This chapter explains how to use PowerBuilder to build a COM, MTS, or COM+ component. Contents Topic About building COM, MTS, and COM+ components About the Component Object Model Defining the component interface Accessing a database from a COM component Providing support for…

Using secure connections with EAServer – PB Docs 90

Using secure connections with EAServer The SSL protocol allows connections to be secured using public-key encryption and authentication algorithms that are based on digital certificates. SSL is a wrapper protocol: packets for another protocol are secured by embedding them inside SSL packets. For example, HTTPS is HTTP secured by embedding each HTTP packet within an…

Client-managed transactions – PB Docs 90

Client-managed transactions EJB client applications can control transactions on the server using the EJBTransaction object. This object has methods that enable the client to begin, commit, or roll back a transaction. The client can also get the status of a transaction, change its timeout value, or modify the transaction so that it cannot be committed….

PowerBuilder.Application server object – PB Docs 90

Deploying an application that uses the automation server When deploying your objects, you need to coordinate registry entries with the locations of all the files. PowerBuilder runtime files For both PowerBuilder.Application and a registered user object as a server, you need to deploy the PowerBuilder runtime environment on each user’s machine. For information about PowerBuilder…

OLE support in PowerBuilder – PB Docs 90

OLE support in PowerBuilder OLE, originally an acronym for Object Linking and Embedding, is a facility that allows Windows programs to share data and program functionality. PowerBuilder OLE controls are containers that can call upon OLE server applications to display and manipulate OLE objects. OLE control The OLE control in the Window painter allows you…

Using MAPI – PB Docs 90

Using MAPI To use MAPI, you create a MailSession object, then use the MailSession functions to manage it. For example:

You can use the Browser to get details about the attributes and functions of the MailSession system object, the attributes of the mail-related structures, and the valid values of the mail-related enumerated datatypes. For…

Providing support for transactions – PB Docs 90

Providing support for transactions Benefits of EAServer’s transaction support EAServer components that you develop in PowerBuilder can participate in EAServer transactions. An EAServer transaction is a transaction whose boundaries and outcome are determined by EAServer. You can mark components to indicate that they will provide transaction support. When a component provides transaction support, EAServer ensures…

Setting database preferences – PB Docs 90

Setting database preferences How to set The way you set connection-related database preferences in PowerBuilder varies, as summarized in the following table (AutoCommit and Lock are the only database preferences that you can set in a PowerBuilder application script). Table 7-1: Database preferences and where they can be set Database preference Set in development environment…

About the JDBC interface – PB Docs 90

About the JDBC interface You can access a wide variety of databases through JDBC in PowerBuilder. This section describes what you need to know to use JDBC connections to access your data in PowerBuilder. What is JDBC? The JDBC API Java Database Connectivity (JDBC) is a standard application programming interface (API) that allows a Java…