LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to package a .ico file to my application?

Hi ,

I have taken note of that there is a API set which can display application icon in the system tray area .
But if I delete this ico file ,then the icon can not be displayed , so I'd like to know how to package such a ico file into my application ? So that anyone cannot destroy integrity of the application . Thanks.

David Lee
0 Kudos
Message 1 of 3
(3,449 Views)
You have to include it when you create a distribution kit. Go to add group and put all your image files in it and you can also specify where to install them after.

Let me know if I understand what you ment.

hope that helped...
0 Kudos
Message 2 of 3
(3,449 Views)
if you want it so that the ico file is hidden from the user, you can make a dll that would store the icon informaton in it. This would involve some win32 programming into your code, thats one way of keeping it packaged together

I found a useful document on using icon files.

Icons in Win32

you should also be able to find information on icon programming in the msdn at http://msdn.microsoft.com


Hope this helps

Bilal D.
Applications Engineer
NI
Bilal Durrani
NI
Message 3 of 3
(3,449 Views)