Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Feb 29, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Searching PBD for User Object at Runtime

I am currently writing a generic system where user object names are stored in a database and instantiated upon request.

This is currently working beautifully, but I fall short when attempting to load a user object that does not exist in the PBDs listed in the application's library list.

What I want to do is search for the object in the PBD list before attempting to instantiate it.

The LibraryDirectory function appears only to work with PBL files.

What can I do to remedy this?

In PowerBuilder 6 and 7, Sybase has added an API called the Class Definition Objects. You can use these to find objects and load them into special classes so you can examine the properties and methods in your PowerScript.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date