Powerbuilder Documentation 7.0

Powerbuilder Documentation 7.0

Providing toolbars – PB Docs 70

Providing toolbars To make your MDI application easier to use, you can add toolbars with buttons that users can click as a shortcut for choosing an item from a menu. You can associate a toolbar with the MDI frame and a toolbar with the active sheet. This screen shows New, Print, and Exit buttons on…

Internationalization – PB Docs 70

Internationalization When you build an application for international deployment, there are user interface design issues you should consider. You also need to know about the support PowerBuilder provides for developing applications for specific languages and character sets. For more information see “International support”. User interface design There are two issues to keep in mind when…

Troubleshooting a distributed PowerBuilder application – PB Docs 70

Troubleshooting a distributed PowerBuilder application Testing locally Like a traditional PowerBuilder application, a distributed PowerBuilder application can be tested on a single computer. You can test your application by running it in a single process, either in test mode or debug mode, or by running a single executable (EXE) file. Alternatively, you can test the…

How the PowerBuilder COM object executes – PB Docs 70

How the PowerBuilder COM object executes To establish an instance of a PowerBuilder COM object, the PowerBuilder virtual machine (PBVM70.DLL) loads the custom class object from the PBD embedded in the COM server DLL and creates the proper session and instance information. When a client invokes a PowerBuilder COM object method, the method calls back…

Integrating generated classes with the PowerJ reference card – PB Docs 70

Integrating generated classes with the PowerJ reference card Because the JavaBeans proxy generator creates classes that are JavaBeans- compliant, you can register these classes for display on the PowerJ reference card. To integrate generated classes with the PowerJ reference card: Use the PowerBuilder Project painter to generate a bytecode (.class) file. In PowerJ, select Components>Add…

Controlling transactions from a client – PB Docs 70

Controlling transactions from a client PowerBuilder clients can exercise explicit control of a transaction on an MTS server by using a variable of type OleTxnObject instead of OLEObject to connect to the COM object in MTS. Requires MTS installation The ConnectToNewObject call on an OleTxnObject fails if MTS is not installed on the client computer….

About building a Jaguar client – PB Docs 70

About building a Jaguar client A PowerBuilder application can act as a client to a Jaguar CTS server. To access a method associated with a component on the Jaguar server, the PowerBuilder client needs to connect to the server, instantiate the component, and invoke the component method. About using the wizards PowerBuilder provides two wizards…

Basic steps for setting connection parameters – PB Docs 70

Basic steps for setting connection parameters This section gives basic steps for setting DBParm parameters and database preferences in PowerBuilder on all supported platforms. To set DBParm parameters: Learn how to set DBParm parameters in the development environment or PowerBuilder application script. See “Setting DBParm parameters”. Determine the DBParm parameters you can set for your…

About the OLE DB interface – PB Docs 70

About the OLE DB interface You can access a wide variety of data via OLE DB data providers in PowerBuilder. This section describes what you need to know to use OLE DB connections to access your data in PowerBuilder. Supported OLE DB data providers For a complete list of the OLE DB data providers supplied…

Creating the extended attribute system tables in DB2 databases – PB Docs 70

Creating the extended attribute system tables in DB2 databases This section describes how PowerBuilder creates the extended attribute system tables in your DB2 database to store extended attribute information. It then explains how to use the DB2SYSPB.SQL script to create the extended attribute system tables outside PowerBuilder. You can use the DB2SYSPB.SQL script if you…