- Tracy Lamb
- PowerBuilder
- Wednesday, 7 March 2018 11:28 PM UTC
I have a lot of graphic files in my application. From time to time I change the directory names on the app (ie, when migrating, updating or developing next ugrade/release). Is there a way to do this without having to change the code and point to the new directory for the same graphic in every single object that uses a picture control? I have 2 pbd that are compiled with pbr files. It works perfectly when the full directory path is in both the code and pbr. I changed the code to just use the graphic file name with no directory path, but left the pbr file with the full directory. Didn't work. So I tried also removing the directory path from the pbr, no luck there either. Surely there's a simple way to change directory names for graphics without changing the code for the new directory names... any advice to simplify this would be greatly appreciated.
TYIA, ~~~Tracy
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.