Connecting to a SOAP server – PB Docs 100
Connecting to a SOAP server The SoapConnection class is used to connect to the SOAP server that hosts the Web service you want to access. You can use the SetOptions method on a SoapConnection object to set options such as the user ID and password for an HTTPS connection. You use the CreateInstance method to…
Ancestor and descendent variables – PB Docs 100
Ancestor and descendent variables All objects in PowerBuilder are descendants of PowerBuilder system objects–the objects you see listed on the System page in the Browser. Therefore, whenever you declare an object instance, you are declaring a descendant. You decide how specific you want your declarations to be. As specific as possible If you define a…
OLE support in PowerBuilder – PB Docs 100
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…
Exception handling in PowerBuilder – PB Docs 100
Exception handling in PowerBuilder When a runtime error occurs in a PowerBuilder application, unless that error is trapped, a single application event (SystemError) fires to handle the error no matter where in the application the error happened. Although some errors can be handled in the system error event, catching the error closer to its source…
More about user objects and the registry – PB Docs 100
More about user objects and the registry The registry stores information required by a program for it to access a registered object. The information is stored in the registration database. To update the registry, the Registry Editor reads registry update files (REG) and inserts the information in the database. What are all the identifiers for?…
Chapter 8 Setting Additional Connection Parameters – PB Docs 100
Chapter 8 Setting Additional Connection Parameters About this chapter To fine-tune your database connection and take advantage of DBMS-specific features that your interface supports, you can set additional connection parameters at any time. These additional connection parameters include: Database parameters Database preferences These connection parameters are described in the Database Connectivity section in the online…
About database connections – PB Docs 100
About database connections This section gives an overview of when database connections occur in PowerBuilder. It also explains why you should use database profiles to manage your database connections. When database connections occur Connections in PowerBuilder PowerBuilder connects to your database when you: Open a painter that accesses the database Compile or save a PowerBuilder…
Defining the ODBC interface – PB Docs 100
Defining the ODBC interface To define a connection through the ODBC interface, you must create a database profile by supplying values for at least the basic connection parameters in the Database Profile Setup – ODBC dialog box. You can then select this profile at any time to connect to your data source in the development…
Creating the extended attribute system tables in DB2 databases – PB Docs 100
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…
Making database connections – PB Docs 100
Making database connections The connection process The Web ActiveX and Transaction Object controls make database connections using JDBC. Their Java classes interact with the Java classes of the database vendor’s JDBC interface. The vendor’s classes interact with the database. JDBC driver from a database vendor The classes for the JDBC database driver you plan to…