Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


PBL cannot be expanded, nor objects viewed within PB

PBL cannot be expanded, nor objects viewed within PB


I am a complete newbie to PB and can use some help.
My PB version is 11.2 Build 8407.

I have added a pbl to my library list within PB but it does not have a plus sign (+) in front of it, which I normally click to expand/show the objects in the pbl.

In Windows Explorer it shows a file size of 2017 KB, so there must be something in there. The file properties in Windows Explorer are not marked read-only nor hidden. Is there some setting within PB that I need to set to access the objects in the pbl?

TIA for any help you can give me.


RE: PBL cannot be expanded, nor objects viewed within PB

No there's no setting, it should simply work.

1) Maybe there really is no object at all in the pbl?
2) maybe the pbl is "corrupt". Try to do an 'optimize' using right-mouse button from the library painter.

You can simply copy any object to that library or create a 'dummy' new one (simply create a new window witout nothing) and save it in the library/pbl that you are having the problem with.

I'd go for the "optimize" first.

Miguel L.

RE: PBL cannot be expanded, nor objects viewed within PB

The fact that your library is occupying space, does not necessarily mean there's an object in it.
Powerbuilder 11, does not automatically decrease the size of your library when deleting objects: that's where the 'optimize' does its work.
"Optimize" also checks for 'lost' objects in a pbl: sometimes, especially when trying to import exported and modified code, when compilation does not succeed at the import, there's garbage code present in the library, without seeing it's object name in the list.
It's a good habbit to optimize all of your libraries every now and then (I do it always before creating and deploying any executable).

Miguel L.

RE: PBL cannot be expanded, nor objects viewed within PB


I have to put this aside for the time being. I will try your optimize suggestion and post an update later on.
Thanks for your help and insights.


RE: PBL cannot be expanded, nor objects viewed within PB

You can examine the pbl with a hex editor. If there are objects in the pbl you should see them listed towards the top of the file.

For example, a pbl of mine has


mbtest.sra.ENT*0600....F....APJ....mbtest.apl.ENT*0600 and further along*0600 and n_base_sru, n_base_udo.... 

The objects
mbbest, w_frogpond, and n_base are all objects contained within the pbl.

You may also wish to Google 'PBdump' which is an application that allows you to extract objects from a pbl. (They are extracted into a text file similar to an export from PB).


"Nature forges everything on the anvil of time"

RE: PBL cannot be expanded, nor objects viewed within PB

An empty library that has never had an object in it has a size of 4,608 bytes. You can Optimize it by right clicking on it in the workspace tree and selecting Optimize. What this does is rename the old library as .bak and create a new .pbl file. It then copies any valid objects from the old library to the new one.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close