LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit our LabVIEW Wiki Code Distribution Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> High res icons, insert 65k-color icons in vi's and executables?
didierj
post May 24 2004, 06:23 AM
Post #1


Extremely Active
****

Member
Posts: 391
Joined: 6-February 04
From: switzerland
Member No.: 253
Using LabVIEW Since:1997
LV:7.1.1 ,6.1 ,.
Switzerland France Nothing Selected


Hi,

Did someone successfully implement executables (built with LV) with icons that have more than 256 colors?
Adding icons with e.g. microangelo seems not to work. My app isn't running anymore afterwards.

Didier


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post May 24 2004, 06:23 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Michael_Aivaliot...
post Jun 7 2004, 05:27 AM
Post #2


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2402
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


How did you even get 256 colours? As far as I know, LabVIEW wants 16 colours max for built executables.

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
didierj
post Jun 7 2004, 05:53 AM
Post #3


Extremely Active
****

Member
Posts: 391
Joined: 6-February 04
From: switzerland
Member No.: 253
Using LabVIEW Since:1997
LV:7.1.1 ,6.1 ,.
Switzerland France Nothing Selected


Thats true... oops.gif I was just looking at the vi, not the app builder.
At least 256 colours on an exe would be nice. Your app looks quite ugly when your customer installs it on an 2k or XP machine.
I tried e.g. Microangelo to add a 256 colour icon, but afterwards my app didn't start anymore.

Didier


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Mar 23 2006, 05:58 PM
Post #4


Extremely Active
****

Premium Member
Posts: 412
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


I know this is a late reply to this topic, but I use a free tool called ResHack to modify the icon in the executable stub that ships with the LabVIEW app builder (I use this for 7.0 and 7.1.x, I haven't tried it in 8.0.1 yet) called lvapp.lib which is located in \applib. You can then go two ways, you can use the built in app builder to build your application and you will have to change the lvapp.lib file everytime you want a new "pretty" icon, or you can use the OpenG builder and perform a pre and post build subVI that renames the original lvapp.lib copies your new one over, then after the app is built, deletes the new lvapp.lib and replaces it with the original.

Chris


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Mar 23 2006, 08:42 PM
Post #5


Changing the world, one VI at a time.
*****

JKI
Posts: 1717
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


Chris: Thanks for the heads-up on this. It's never too late for a good solution to a common problem thumbup1.gif

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Mar 23 2006, 09:10 PM
Post #6


Extremely Active
****

Premium Member
Posts: 412
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


Just following your motto

tongue.gif "changing the world, one VI at a time" worshippy.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
didierj
post Mar 27 2006, 12:00 PM
Post #7


Extremely Active
****

Member
Posts: 391
Joined: 6-February 04
From: switzerland
Member No.: 253
Using LabVIEW Since:1997
LV:7.1.1 ,6.1 ,.
Switzerland France Nothing Selected


Thanks also from my side. I'm going to try it.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Mar 27 2006, 03:36 PM
Post #8


Extremely Active
****

Premium Member
Posts: 412
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


QUOTE (didierj @ Mar 27 2006, 06:00 AM) *
Thanks also from my side. I'm going to try it.

Just for posterity. Here is the link to ResHack.
ResHack

I've found lots of good icon resources and ideas as well as purchasable icons from
The IconFactory

Chris


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
PJM_labview
post Mar 27 2006, 04:31 PM
Post #9


Extremely Active
****

JKI
Posts: 624
Joined: 19-June 03
From: Bay Area, CA (USA)
Member No.: 121
Using LabVIEW Since:1998
LV:8.5.1 ,8.6 ,8.2.1
United States France Nothing Selected My Blog


QUOTE (chrisdavis @ Mar 23 2006, 09:58 AM) *
I know this is a late reply to this topic, but I use a free tool called ResHack to modify the icon in the executable stub that ships with the LabVIEW app builder (I use this for 7.0 and 7.1.x, I haven't tried it in 8.0.1 yet) called lvapp.lib which is located in \applib. You can then go two ways, you can use the built in app builder to build your application and you will have to change the lvapp.lib file everytime you want a new "pretty" icon, or you can use the OpenG builder and perform a pre and post build subVI that renames the original lvapp.lib copies your new one over, then after the app is built, deletes the new lvapp.lib and replaces it with the original.

Chris

Just tried it a couple days ago, and it work pretty well.

Thanks

PJM

--------------------

Got VIPM?

JKI . VIPM . EasyXML . OpenG . LAVA . Builder . Blog



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Mar 27 2006, 09:50 PM
Post #10


Extremely Active
****

Premium Member
Posts: 412
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


QUOTE (PJM_labview @ Mar 27 2006, 10:31 AM) *
Just tried it a couple days ago, and it work pretty well.

Thanks

PJM

BTW for those who choose to use the NI Application error you will probably get an error when you start it up about the 32x32 16 color and 16x16 16 color icons not being present. You can safely click ok and build your executable. Using the OpenG Builder you don't get that error.

Chris


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Mar 28 2006, 02:36 AM
Post #11


Changing the world, one VI at a time.
*****

JKI
Posts: 1717
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


QUOTE (chrisdavis @ Mar 27 2006, 01:50 PM) *
Using the OpenG Builder you don't get that error.

Woo hoo beer_mug.gif

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Jun 21 2006, 09:21 PM
Post #12


Extremely Active
****

Premium Member
Posts: 412
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


QUOTE (chrisdavis @ Mar 23 2006, 12:58 PM) *
I know this is a late reply to this topic, but I use a free tool called ResHack to modify the icon in the executable stub that ships with the LabVIEW app builder (I use this for 7.0 and 7.1.x, I haven't tried it in 8.0.1 yet) called lvapp.lib which is located in \applib. You can then go two ways, you can use the built in app builder to build your application and you will have to change the lvapp.lib file everytime you want a new "pretty" icon, or you can use the OpenG builder and perform a pre and post build subVI that renames the original lvapp.lib copies your new one over, then after the app is built, deletes the new lvapp.lib and replaces it with the original.

Chris

I have now tried the technique of replacing LabVIEW 8.0.1 lvapp.lib with my own, pretty icon version of lvapp.lib and it does work. Since the OpenG Builder doesn't work under LV8, the automatic pre and post building routines that could do this replacement for me don't work.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post Jun 21 2006, 11:37 PM
Post #13


Changing the world, one VI at a time.
*****

JKI
Posts: 1717
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


QUOTE (chrisdavis @ Jun 21 2006, 02:21 PM) *
I have now tried the technique of replacing LabVIEW 8.0.1 lvapp.lib with my own, pretty icon version of lvapp.lib and it does work. Since the OpenG Builder doesn't work under LV8, the automatic pre and post building routines that could do this replacement for me don't work.


Chris,

OpenG Builder does work under LabVIEW 8.0.

Cheers,

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Chris Davis
post Jun 22 2006, 12:25 PM
Post #14


Extremely Active