1. Steen Jakobsen
  2. PowerBuilder
  3. Tuesday, 21 June 2022 16:24 PM UTC

Hi 

 

In the project painter, how can I specify an Icon to associate with the exe generated ?

(or on PBC  .. the stand alone compiler)

Using pb2019R3

 

Thanks

 

//Steen

Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 21 June 2022 19:58 PM UTC
  2. PowerBuilder
  3. # 1


Open the application object:


In the upper right pane, click on  ADDITIONAL PROPERTIES:


Click on the ICON tabpage:

 

TYou are now here:


Ensure that the icon is located in a folder that is visible to the application.
Select the icon/image you want to use.
Strip away the PATH, leaving only the filename.
APPLY.
SAVE.
EXit all the way to the Library Painter.
Regenerate.
Run to test.

 

 

 

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 21 June 2022 17:14 PM UTC
  2. PowerBuilder
  3. # 2

I'm not sure what version/build this started but in 2019-R3 the icon name is stored in the application source code in addition to the hidden binary 'pra' object. You might have to change it and save for the source code to be updated.

I wonder if the PBC will honor that.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 21 June 2022 19:38 PM UTC
  2. PowerBuilder
  3. # 3

Hi Steen;

  This has always been controlled via the PB App's Application Object properties within the App Painter.

Tip: Make sure that you only specify the ICO file with no path.

Regards ... Chris

Comment
  1. Brad Mettee
  2. Wednesday, 22 June 2022 14:26 PM UTC
And make sure the ICO file (and any other images) is available either in the directory being used to compile the app, or can be found with the PATH environment variable.
  1. Helpful 1
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.