1. PRASHANT NIRGUN
  2. PowerBuilder
  3. Friday, 1 January 2021 14:02 PM UTC

I need different different Icon to executable  Just for reference let say I want to use one for 32 Bit and another for 64 Bit like wise in short need pack of some icons which I will  use as per my distribution. I am adding Windows Change Icon Window for Notepad++.exe just for reference.

 

I am using Powerbuilder 11.5 

Attachments (1)
PRASHANT NIRGUN Accepted Answer Pending Moderation
  1. Monday, 4 January 2021 05:39 AM UTC
  2. PowerBuilder
  3. # 1

I tried out is giving error but I have seen some python project to hack the resources I will try other one and update. The other way out is to embed them into some .dll 

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 4 January 2021 03:47 AM UTC
  2. PowerBuilder
  3. # 2

Greetings, Prashant - 

I'm very doubtful you'll be able to do this, although the oldest version I have available to experiment with is PB 2017 R3. Using a freeware utility named Resource Hacker, I took a little test app and attempted to add one or more icons to the exe. The utility appeared to work successfully, but the app then produced a fatal error during startup and therefore was from then on unusable.

The only ways I know to product versions of an app with different icons is to either (1) change the icon property in the application object prior to doing the deploy/build. or (2) use a separate application object and target in its own pbl for each version.

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.