Performing some initial housekeeping – PB Docs 70
Performing some initial housekeeping Now that you have the basic objects you need, you’re ready to start writing code to make your pipeline work in the application. To begin, you must take care of some setup chores that will prepare the application to handle pipeline execution. To get the application ready for pipeline execution: Connect…
DDE functions and events – PB Docs 70
DDE functions and events The following tables list the DDE functions and events separated into those functions and events used by DDE clients and those used by DDE servers. For more information on DDE support, see the PowerScript Reference . Return values All DDE functions return an integer. DDE client Function Action CloseChannel Closes a…
OLE support in PowerBuilder – PB Docs 70
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…
OLE controls in a window – PB Docs 70
OLE controls in a window You can add OLE objects and ActiveX controls to a window or user object. To do so, you use one of the PowerBuilder OLE controls, which acts as an OLE container. This section explains how you select the control you want by choosing whether it holds an OLE object (also…
OLE controls and insertable objects – PB Docs 70
OLE controls and insertable objects The OLE control contains an insertable OLE object. You can change the object in the control in the painter or in a script. You specify what is allowed in the control by setting PowerBuilder properties. Setting up the OLE control When you create an OLE control and insert an object,…
OLE custom controls – PB Docs 70
OLE custom controls The OLE control button in the Controls menu gives you the option of inserting an object or a custom control in an OLE container. When you select an OLE custom control (ActiveX control), you fix the container’s type and contents. You cannot choose later to insert an object and you can’t select…
Programmable OLE Objects – PB Docs 70
Programmable OLE Objects You don’t need to place an OLE control on a window to manipulate an OLE object in a script. If the object doesn’t need to be visible in your PowerBuilder application, you can create an OLE object independent of a control, connect to the server application, and call functions and set properties…
OLE objects in scripts – PB Docs 70
OLE objects in scripts This chapter has described the three ways to use OLE in a window or user object. You have learned about: Inserting an object in an OLE control Placing an ActiveX control in an OLE custom control Declaring an OLEObject variable and connecting to an OLE object In scripts, you can manipulate…
OLE information in the Browser – PB Docs 70
OLE information in the Browser The system stores information about the OLE server applications and OLE custom controls installed on your computer in the registry. PowerBuilder reads the registry and displays the registration information for all registered OLE servers and custom controls. To view the OLE information: Click the Browser button on the PowerBar. Click…
Advanced ways to manipulate OLE objects – PB Docs 70
Advanced ways to manipulate OLE objects In addition to OLE objects in controls and objects for automation, PowerBuilder provides an interface to the underpinnings of OLE data storage. OLE data is stored in objects called streams, which live in objects called storages. Streams and storages are analogous to the files and directories of a file…