Powerbuilder Documentation 7.0

Powerbuilder Documentation 7.0

Calling external functions and programs on UNIX – PB Docs 70

Calling external functions and programs on UNIX When you work with PowerBuilder on the UNIX platform, there are UNIX-specific considerations for: Calling external functions in PowerBuilder Running other programs About calling external functions On UNIX, you can call external functions in shared libraries from several sources: UNIX versions of Windows API DLLs Existing UNIX shared…

Creating and using a named server – PB Docs 70

Creating and using a named server Using your own named server involves these steps: Define the objects you will access. Build the runtime libraries for those objects. Register your server in the registry. Write code in the client that connects to your server, creates objects, and accesses their methods and properties. Creating the user objects…

Sources of rich text – PB Docs 70

Sources of rich text Any word processor You can prepare rich text in any word processor that can save or export rich text format. Input fields in PowerBuilder only Although many word processors support some kind of fields, the fields are usually incompatible with other rich text interpreters. If you want to specify input fields…

Using ListView controls – PB Docs 70

Using ListView controls A ListView control allows you to display items and icons in a variety of arrangements. You can display large icon or small icon freeform lists, or you can display a vertical static list. You can also display additional information about each list item by associating additional columns with each list item: ListView…

Delivering your application to end users – PB Docs 70

Delivering your application to end users When you deliver the executable version of your application to users, you need to install all of the right pieces (various files and programs) in the right places (such as on their computers or on the network). Deploying Enterpise Application Studio applications This section discusses the files you need…

Using DataWindow information to populate a TreeView – PB Docs 70

Using DataWindow information to populate a TreeView A useful implementation of the TreeView control is to populate it with information that you retrieve from a DataWindow. To do this your application will: Declare and instantiate a DataStore and assign a DataWindow object Retrieve information as needed Use the retrieved information to populate the TreeView Destroy…

About deploying applications on UNIX – PB Docs 70

About deploying applications on UNIX After you have built your application and created its executable and dynamic library files, you need to set up your users’ machines to run the application. Typical deployment scenarios On UNIX, you can deploy a PowerBuilder application in a variety of ways, depending on the hardware and software configurations of…

Advanced printing techniques – PB Docs 70

Advanced printing techniques Creating complex reports in PowerBuilder requires the use of additional functions but is relatively easy. You can use PowerScript functions to define fonts for a job, specify fonts and line spacing, place objects on a page, and specify exactly where you want the text or object to be placed. Defining and setting…

Working with the ConnectionInfo object – PB Docs 70

Working with the ConnectionInfo object A client application can retrieve information about client connections to a server application by using the ConnectionInfo object. The ConnectionInfo object is a structure that provides access to the list of active connections to the server. Retrieving connection information You use the GetServerInfo function of the Connection object to populate…

Providing support for transactions – PB Docs 70

Providing support for transactions If a component supports transactions, MTS ensures that the component’s database operations execute as part of a transaction. Using the transaction service context object PowerBuilder components running in MTS can use a transaction context service to control transactions. A PowerBuilder COM object creates an MTS context object that enables the component…