Setting up the Web server – PB Docs 90
Setting up the Web server Setting up the Web server involves: Specifying the MIME type Putting the files on the server Specifying the MIME type Using the appropriate software for your Web server, register the MIME type for the DataWindow plug-in. For PowerBuilder 9, the MIME type is:
1 |
application/datawindow9 |
The file extension associated with the…
Garbage collection and memory management – PB Docs 90
Garbage collection and memory management The PowerBuilder garbage collection mechanism checks memory automatically for unreferenced and orphaned objects and removes any it finds, thus taking care of most memory leaks. You can use garbage collection to destroy objects instead of explicitly destroying them using the DESTROY statement. This lets you avoid runtime errors that occur…
Optimizing expressions for DataWindow and external objects – PB Docs 90
Optimizing expressions for DataWindow and external objects No compiler validation for container objects When you use dot notation to refer to a DataWindow object in a DataWindow control or DataStore, the compiler does not check the validity of the expression:
1 |
dw_data.Object.column.<i>property</i> |
Everything you specify after the Object property passes the compiler and is checked during…
Chapter 19 PowerBuilder Runtime Automation Server – PB Docs 90
Chapter 19 PowerBuilder Runtime Automation Server About this chapter This chapter describes how to access PowerBuilder class user objects by means of automation. A PowerBuilder object is the OLE server; PowerBuilder or any other OLE-enabled development tool can be the client application, accessing the methods and properties of the PowerBuilder object. Contents Topic Using the…
Sending Windows messages – PB Docs 90
Sending Windows messages To send Windows messages to a window that you created in PowerBuilder or to an external window (such as a window you created using an external function), use the Post or Send function. To trigger a PowerBuilder event, use the EVENT syntax or the TriggerEvent or PostEvent function. Using Post and Send…
Sharing database profiles – PB Docs 90
Sharing database profiles When you work in PowerBuilder, you can share database profiles among users. Sharing database profiles between PowerBuilder and InfoMaker Since the database profiles used by both PowerBuilder and InfoMaker are stored in a common registry location, database profiles you create in either product are automatically available for use by the other, if…
Accessing the EAS Demo DB – PB Docs 90
Accessing the EAS Demo DB PowerBuilder includes a standalone Adaptive Server Anywhere database called the EAS Demo DB. Unless you clear this option in the Setup program, the database is installed automatically. You access tables in the EAS Demo DB when you use the PowerBuilder tutorial. An Adaptive Server Anywhere database is considered an ODBC…
Connecting to a database – PB Docs 90
Connecting to a database To establish or change a database connection in PowerBuilder, use a database profile. You can select the database profile for the database you want to access in the Database Profiles dialog box. Using the Database painter to select a database profile You can also select the database profile for the database…
Installing PowerBuilder stored procedures in Adaptive Server databases – PB Docs 90
Installing PowerBuilder stored procedures in Adaptive Server databases This section describes how to install PowerBuilder stored procedures in an Adaptive Server database by running SQL scripts provided for this purpose. Sybase recommends that you run these scripts outside PowerBuilder before connecting to an Adaptive Server database for the first time through the Adaptive Server (SYC…
Setting up database connections – PB Docs 90
Setting up database connections When you use the Web DataWindow, it is the Web DataWindow server component that interacts with the database, so you need to set up database connections on the server where the component is running. What database connectivity software to use If you are using EAServer as the component server, you can…