LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

custom icon in application builder

I am trying to create an executable with custom icon using Application Builder in LabVIEW.
I converted a .png image to .ico for the icon, but when I select that .ico file as a custom icon, I get the following message:
 
"The selected file doesn't contain all of the needed icons. Without them, your application will show an incorrect icon in some views. 
Missing icons:
32X32, 16 color
16X16, 16 color."
 
Any comments\suggestions on how to get custom icon would be appreciated.
 
Thanks.
0 Kudos
Message 1 of 3
(3,673 Views)
It's possible that you don't have both 16x16 and 32x32 icons in 16 bit color. When you convert the .png to an .ico, see if there is an option to convert into necessary ico images that you need.
 
As a way to double check this without using application builder, load the VI : <vi.lib>\Platform\icon.llb\Read Icons for Application.vi
 
It will show you the different icons that are read from the .ico file.
Message 2 of 3
(3,660 Views)
The .ico file used by the LabVIEW application builder must be a multi-resolution icon, which contains icons of several different sizes and colour depths.  The best way to achieve this is to use a proper icon editor that can create this icon type.
0 Kudos
Message 3 of 3
(3,480 Views)