Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to extract all icons from some exe files and insert them to other exe files using Delphi?

Tags:

icons

delphi

I'm using Delphi. I want to know how to extract (all) the icons from an exe file and insert them into another, preserving the order and the index of the icons. I found some samples of Delphi code using Google but the problem is that it doesn't extract them all. And I've found some compiled programs (exes) that do one or the other but not both. Why do I need this: because I have to start some exe files (that have those icons) from virtualized applications. And I want to make some external exe files that have the same name and the same icons. Thank you for your help.

like image 895
Tudor Cristea Avatar asked May 31 '11 14:05

Tudor Cristea


People also ask

How do you extract an icon from an EXE?

Right-click the EXE file for the software you want to extract an icon from and select Properties. Click the Icons tab shown directly below. Select an icon to extract there.

Where do I find the EXE icon?

Otherwise, you can usually find an application's EXE file in sub-folders of C:\Program Files or C:\Program Files (x86) . When you've found the application's EXE file, right-click it and select “Properties.” In the Properties window, click the “Icons” tab.


1 Answers

The source is available for Colin Wilson's XN Resource Editor. It should have what you need. http://www.wilsonc.demon.co.uk/d10resourceeditor.htm

like image 68
Chris Thornton Avatar answered Sep 17 '22 22:09

Chris Thornton