Welcome!

PowerBuilder Authors: Chris Pollach, Yeshim Deniz, Jayaram Krishnaswamy, Kevin Benedict, Avi Rosenthal

Related Topics: PowerBuilder, Microsoft Cloud

PowerBuilder: Blog Post

What Will They Think of Next?

Library List goes clandestine

Today I was doing housekeeping chores on a PowerBuilder .NET application. I was moving libraries from one folder to another. Much to my chagrin, I discovered that what used to be a simple chore is now a more time-consuming operation.

In good ol' Classic, after moving the PBLs, with the IDE closed (or the target now in the current workspace), I'd edit the Library list in the PBT file to reflect the PBL's new folder path, reopen the target and voilà, change done! Perhaps in a worst case scenario, I'd copy the PBL and then edit the Library List in the IDE by simply changing the PBL path in the text edit box.

No more! As you can see from the accompanying screenshot. The Library List in the PBTX file is encrypted. That means that even though it is plainly visible in the text-based PBTx file, you just can't simply edit it any more. What's even more restricting is the IDE Library List editor is now a pick list. You can't edit the list directly. So the process of modifying a library location has you clicking a button to delete a library, then clicking another button to choose a library using the file chooser dialog.

This seeming enhancement is inconvenient at the least and tends to be somewhat annoying. Noticing that this is how the PBTX is in version 12.0 & 12.5 I'm guessing that it's here to stay.

More Stories By Yakov Werde

Yakov Werde, a 25 year IT industry veteran, is a member of TeamSybase and the newly formed Sybase Customer Evangelist Team. Yakov is a recognized author, speaker and trainer who has been designing and delivering PowerBuilder, .NET, EaServer, Web App Development, and Java training for over 14 years to corporate, military and government developers. Prior to discovering his aptitude as an educator, Yakov worked as an architect, project manager and application coder in the trenches of application software development. Yakov holds a Masters in Education with a specialty in instructional design for online learning from Capella University and a BS in math and computer science from Florida International University. Yakov, managing partner of eLearnIT LLC (www.elearnitonline.com), authors and delivers workshops and web based eLearning tutorials to guide professional developers toward PowerBuilder Classic and .NET mastery. Follow Yakov on Twitter as @eLearnPB

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
reedshilts 07/20/11 08:46:00 PM EDT

About the editability of the library list field in the target dialog...
I have always viewed that "free form edit box" as being an atrocious UIX... If the user made one small error, their workspace fell apart with with no assistance possible from the tool....

reedshilts 07/20/11 08:37:00 PM EDT

Actually - it's not encrypted - but is the GUID identifier of the PBL itself.
This provides a level of indirection so we are not storing the physical location of the library in the library-list.
Hence - it actually makes things easier....

To see the GUID identifier of the PBL, it is the "ProjectGuid" value in the PBLX file.