11-21-2007 03:07 PM
11-22-2007 04:17 AM
Hey!
I'm not exactly sure about what you trying to perform, but:
If it is possible to retrieve an icon from user32.dll methods or properties, just use a call library function node in LabVIEW to access the DLL and get the icon information. Depending on the information (datatyp, structure, ...) and depending an what you want to do with it (save it, use it in LV) you maybe have to use other functions to convert the date in the required format.
BR, Chrisitan
11-22-2007 04:50 AM
11-22-2007 09:13 AM
Thanks dave, but I'd like to load it in programaticly so if the icon is changed in the next revision of windows, the new look of the application will be consistent with that OS.
@daveTW wrote:
Hi,
try the Freeware tool ResHack, it supports command line scripting. So you can get access via the ShellExecute.
greets, Dave
11-22-2007 09:17 AM
Hi Christian,
@Christian_M wrote:
Hey!
I'm not exactly sure about what you trying to perform, but:
If it is possible to retrieve an icon from user32.dll methods or properties, just use a call library function node in LabVIEW to access the DLL and get the icon information. Depending on the information (datatyp, structure, ...) and depending an what you want to do with it (save it, use it in LV) you maybe have to use other functions to convert the date in the required format.
BR, Chrisitan
11-22-2007 09:20 AM
11-22-2007 09:36 AM
Hey!
If you could provide me with a little bit of information of which function to call and which parameters to set please.
BR, Christian
11-22-2007 12:43 PM
@Christian_M wrote:
Hey!
If you could provide me with a little bit of information of which function to call and which parameters to set please.
BR, Christian
11-23-2007 05:52 AM
11-23-2007 10:45 AM
Ah, great. I looked at the web page and didn't see any reference to LV so I figured you were saying to use that app to capture the icon and then paste it in to my app.
@daveTW wrote:
Hi,
as I wrote in my last post, there is a way to get access to icon ressources via ResHacker. Additionally it is necessary to have IrfanView (Freeware) installed. If this is done, ResHacker.exe has to be in the same directory as the LLB. Then it should work.
greets, Dave