extract exe icon

VBnetster

Active member
Joined
Feb 15, 2008
Messages
32
Programming Experience
Beginner
hi,

is there some way that i can extract a files icon? i was looking at the ExtractIconEx API but it just totally confused me! i also cant find what im looking for, what i need to do is replace file1.exe icon with file2.exe icon.:confused:
 
Icon.ExtractAssociatedIcon Method can get you the icon.

As for replace I have no idea, why would you want to do that? You can create a shortcut to the exe and set a custom icon for the shortcut.
 
Back
Top