LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

icon associated with .exe

I've been through 100 threads with this problem. I finally figured out that the only icons that can be associated with an executable are created in Icon Editor CVI. That's clunky enough, but now not only does my .ico file I created but also my executable in the windows directory has a blank space for the icon. Is this rocket science? Smiley Surprised
 
Thanks.
 
PaulG.
7.1.1
XP/2000
PaulG.
Retired
Message 1 of 7
(5,192 Views)

Hi Paul,

I'm not sure I understand what you mean..  What do you mean by "blank space" for the icon?  Do you mean that the icon is actually white?  as in no icon?  ... strange...

So you have created an icon for the vi in development & when creating an executable, it is blank??

Under the "Tools" menu, inside the "Build Application or Shared Library (DLL)", within the "Application Settings" TAB, you can select a custom icon.  You browse and select you ico file.  Did you follow these steps and now you get a blank (white only) icon?

Ray

Message 2 of 7
(5,172 Views)

Hi Paul,

I have LV7.1 installed and tried building an application where I used an already made icon from some unknown place 😉  and linked to it using the steps in my previous post, when building an executable.  The exe file shows the icon.  I don't think you need to use an Icon Editor CVI to import an icon, any valid ico file should do the trick.

If you're still having problems, can you attach you ico file (if it is not proprietary, of course 😉  )

Ray

Message Edited by JoeLabView on 04-11-2006 01:33 PM

Message 3 of 7
(5,170 Views)
The shortcut to the application looks OK. But the icon for the application and the icon itself in windows explorer/file listing is blank. The PC for this application is connected to a network. If I miss pasting a shortcut to someone they will look for it. A blank icon for the application just doesn't look very professional. Creating custom and company ID application icons for executable applications seems very cumbersome. Has it changed in V8?
 
Paul
PaulG.
Retired
0 Kudos
Message 4 of 7
(5,158 Views)


@PaulG. wrote:
The shortcut to the application looks OK. But the icon for the application and the icon itself in windows explorer/file listing is blank. The PC for this application is connected to a network. If I miss pasting a shortcut to someone they will look for it. A blank icon for the application just doesn't look very professional. Creating custom and company ID application icons for executable applications seems very cumbersome. Has it changed in V8?
 
Paul


It's not more cumbersome than creating any icon. You need to have some icon editor (any will do that you feel comfortable with). And yes icon creation is a little cumbersome: apart from the artistic issues, handling most icon editors I have tried seldom seemed very simple to understand. But that is the issue about icon editors in general and you just have to find one that suits your way of working.

There is one limitation: currently LabVIEW application builder only supports B/W and 16 color icons in 16*16 and 32*32 pixels. If you create a 256 color icon only without the B/W and 16 color variants you would usually end up with the standard LabVIEW icon anyhow. Since you say your icon is completely blank I have a certain guess that the problem is somewhere else however. Apparently your icon has an all transparent bitmap mask. Check it out.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 5 of 7
(5,141 Views)
Creating Icons can be a pain and everyone is correct with the whole "you need an icon editor to do this." In LV 7.0&1 there was no icon editor and you had to import the icon directly from a .ico file. However, in LV 8 we did include an icon editor as part of the app builder. Many of you will recognize it, because it is the same one used in CVI. The issue with the exe icon being blank should not be happening. If you build the executable, the .exe file should have the icon you specified. Let me know if this is not the case and/or what you are directly doing to link the icon with the shortcut so we can figure out how to help you out. 🙂
 
Tyler H.
National Instruments
0 Kudos
Message 6 of 7
(5,098 Views)

Hi Ray, i´m trying to do the same, but, when i select the icon, the black and white icon looks on white, what else should i do? 

 

Hi Paul,

I'm not sure I understand what you mean..  What do you mean by "blank space" for the icon?  Do you mean that the icon is actually white?  as in no icon?  ... strange...

So you have created an icon for the vi in development & when creating an executable, it is blank??

Under the "Tools" menu, inside the "Build Application or Shared Library (DLL)", within the "Application Settings" TAB, you can select a custom icon.  You browse and select you ico file.  Did you follow these steps and now you get a blank (white only) icon?

Ray

 

0 Kudos
Message 7 of 7
(4,648 Views)