Sybase 2 Barcode Reader User Manual


 
CHAPTER 2 Working with Libraries
DataWindow Designer User’s Guide 49
A PBR file is an ASCII text file in which you list resource names (such as BMP,
CUR, RLE, and WMF files) and DataWindow objects.
To create a PowerBuilder resource file (PBR file):
Using a text editor, create a text file that lists all resource files referenced
in your DataWindow objects. List the names of each resource, one
resource on each line, then save the list as a file with the extension PBR.
Naming resources
If the resource file is in the current folder, you can simply list the file, such as:
FROWN.BMP
If the resource file is in a different folder, include the path to the file, such as:
C:\BITMAPS\FROWN.BMP
What happens at runtime
When a resource such as a bitmap is referenced at runtime, the DataWindow
server first looks in the PBDs that are defined for the application. Failing that,
it looks in folders in the search path for the file.
Creating a library directory report
A library directory report lists all entries in the current library, showing the
following information for all objects in the library, ordered by object type:
Name of object
Modification date and time
Size (of compiled object)
Comments