on 05-22-2013 8:21 PM
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
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):
Good luck,
Terry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.