Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C# .net: How to get the icon of a specific file? for eg., How to get the icon of the file 'Notepad.exe'?
Posted

Check out an article of it on Codeproject here[^].
 
Share this answer
 
1. Open Visual Studio
2. Press Ctrl + O
3. Choose an exe file (In your case NotePad.exe)
4. Expand the "Icon"
5. Do right click on the specific icon and choose "Export..." from the menu
 
Share this answer
 
v2
I wrote a little program a couple of months ago that gets the icon from exe files.
You can check my code or download it from my blog.
http://perschluter.com/extract-associated-icon-from-exe-file-in-c-sharp/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900