1. Sverre Tvedt
  2. PowerBuilder
  3. Friday, 4 November 2022 16:35 PM UTC

PB 2021 , build 1506, 32 bit

From the distant past we have inherited a program structure with exe files and pbd files for all our applications.

In the application projects, the exe files and pbd files are assigned pbr files exactly matching the icon references in each pbd/exe.

This is now a bit cumbersome to maintain, so is there any disadvantage putting all the icon file references into one single pbr-file per exe-file, without assigning any pbr files to the pbd files?  It seems to work, although the exe file increases significantly in size.

 

Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 4 November 2022 16:40 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Sverre,

yes it should be perfectly fine to have a single PBR that you assign to your EXE.

If you don't want to increase the size of the EXE, you can also create an empty PBL, for example called resources.pbl.

In the project's library list you then assign the PBR to resources.pbl, instead of the EXE.

Regards,

MiguelL

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.