cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder 12.5 Classic Application Icon

Former Member
0 Kudos

I am saving the application icon in the application object.  I am using the additional properties window that opens from the button on the general tab in properties.  When I enter the icon file name in the field and close the application, it prompts me to save the application.  When I build the executable, the icon displays correctly.  My problem is that when I check the application into PVCS and then check it out on another PC, the icon file name is blank.  I don't know where the application icon information is being saved.  Does anyone know where the application icon information is actually saved?

Thanks in advance,

Jeff

Accepted Solutions (1)

Accepted Solutions (1)

former_member1333806
Active Participant
0 Kudos

The application icon is actually saved in the application object; the problem is that the application icon definition is not exported when you export the application object, so it doesn't get source controlled. This has been a problem for years; I remember discussing hopes for a solution to this at conferences 10 years ago.

Two bright points (well, less gloomy than what's above):

  • IIRC, I don't think I've ever come across a case where, after manually setting the application icon, that it was ever lost, even when getting an updated application object. (If you change your application icon regularly, and want to see that in development, maybe this isn't that helpful.)
  • One work around that I've used is to set it in the PowerGen .GEN file and source control that file, so all changes will definitely get into your executable, if not your development environments.

Good luck,

Terry.

Answers (3)

Answers (3)

Former Member
0 Kudos

We are using PowerGen, so we can either set it in the .GEN file or I can have the person who does our builds start with a copy of my pbl.

Thanks to all!

Jeff

Former Member
0 Kudos

The application icon name is stored in the internal directory structure of the library containing the application object. It isn't part of the application source or compiled code.

The internal directory structure includes the object name, size, comment and address of the object in the file. The icon name is in the comment field of the appname.pra entry. The application object source is appname.sra and the compiled code is appname.apl.

The only way another developer can get the change without doing it manually is to copy the library file.

Former Member
0 Kudos

Hi Jeff,

Is the other pc able to locate the path to the icon? If the icon path is local to the working pc I would make sure it is local to the other pc. If it isn't adding the icon to source control would take care of that.

hth,

Mark