didierj Posted May 24, 2004 Report Share Posted May 24, 2004 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 Quote Link to comment
Michael Aivaliotis Posted June 7, 2004 Report Share Posted June 7, 2004 How did you even get 256 colours? As far as I know, LabVIEW wants 16 colours max for built executables. Quote Link to comment
didierj Posted June 7, 2004 Author Report Share Posted June 7, 2004 Thats true... 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 Quote Link to comment
Chris Davis Posted March 23, 2006 Report Share Posted March 23, 2006 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 LV 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 <LV Directory>\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 Quote Link to comment
Jim Kring Posted March 23, 2006 Report Share Posted March 23, 2006 Chris: Thanks for the heads-up on this. It's never too late for a good solution to a common problem :thumbup: Quote Link to comment
Chris Davis Posted March 23, 2006 Report Share Posted March 23, 2006 Just following your motto <grin> "changing the world, one VI at a time" :worship: </grin> Quote Link to comment
didierj Posted March 27, 2006 Author Report Share Posted March 27, 2006 Thanks also from my side. I'm going to try it. Quote Link to comment
Chris Davis Posted March 27, 2006 Report Share Posted March 27, 2006 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 Quote Link to comment
PJM_labview Posted March 27, 2006 Report Share Posted March 27, 2006 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 LV 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 <LV Directory>\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 Quote Link to comment
Chris Davis Posted March 27, 2006 Report Share Posted March 27, 2006 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 Quote Link to comment
Jim Kring Posted March 28, 2006 Report Share Posted March 28, 2006 Using the OpenG Builder you don't get that error. Woo hoo :beer: Quote Link to comment
Chris Davis Posted June 21, 2006 Report Share Posted June 21, 2006 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 LV 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 <LV Directory>\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 LV 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. Quote Link to comment
Jim Kring Posted June 22, 2006 Report Share Posted June 22, 2006 I have now tried the technique of replacing LV 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, Quote Link to comment
Chris Davis Posted June 22, 2006 Report Share Posted June 22, 2006 Chris,OpenG Builder does work under LabVIEW 8.0. Cheers, Jim, The version I have does work, but it doesn't look the same as in LV 7 and 7.1. Thats what led me to think it didn't work. Thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.