From a solution, edit objects in a PBL.
- New
- Advice
-
Larry Pettit
- PowerBuilder
- Tuesday, 29 July 2025 04:56 PM UTC
Background:
For the past 30 years we've had a "custom.pbl" with different formats of forms for each client. This custom.pbl was the first library in the target's search path. The programs were compiled with an empty custom.pbl and clients would just copy their custom.pbd into the folder with the programs (on top of the empty custom.pbd). Everything worked fine until now. If you went and looked at the source code folders in PB 2022 R3, the custom.pbl was a file in the custom folder. Each client had their own custom.pbl that compiled into a custom.pbd so there are lots of custom.pbls, one for each client.
Recently:
Recently upgraded to PB2025 and made the mistake of converting my workspace to a solution. I would never do that again but it is a one-way street with no way to go back. In a solution, the directory structure is different. There doesn't seem to be a custom.pbl file anymore. There is a custom.pbl folder with all the .sr* files in it.
Runtime:
If I copy a previously compiled custom.pbd into the folder with the compiled programs, it seems to work ok. The custom.pbd in this case was compiled with PB 2022 R3.
Development:
If I want to make a change to a client's forms and copy the custom.pbl for that client into the custom folder, it won't let me because it finds the custom.pbl folder and says it already exists. So there is no apparent way to change the client's forms that are objects in the custom.pbl file.
Question:
Should I open the custom.pbl in PB 2022 R3, export all the objects, and copy those objects to the custom/custom.pbl folder in order to make changes? Is there a better way to accomplish this? Will this work?
Update:
Import from PBL to an empty custom.pbl crashes IDE.
Import Files *.sr files to an empty custom.pbl crashes IDE.
I guess my only option is to continue to use PB 2022 R3 for making changes to custom.pbls
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.