1. Tzach Asher
  2. PowerBuilder
  3. Tuesday, 4 April 2023 14:54 PM UTC

How to dynamically set the content of the Product Version text box?

I cannot find the objects to refer to it. I have an instance variable in another object and I would like to use it to update the Product Version (aka exe version).

Thank you.

Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 4 April 2023 17:35 PM UTC
  2. PowerBuilder
  3. # 1

Hi.

If using pb 2019 you can accomplish that using pb compiler. If using pb 2021 or later you may use pbautobuild. Pbautobuild is based on a json file that can be easily modified by 3rd party tools. Pb compiler supports those values to be set using command line arguments.

Andreas.

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 4 April 2023 15:54 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Tzach - 

I believe to accomplish this, you will have to use ORCA to perform the build. You did not state what version of PB you are using, but here is a link to the page in the PB 2022 ORCA Guide that describes how you would do this:

    https://docs.appeon.com/pb2022/orca_guide/ch02s41.html

Best regards, John

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.