Retrieving Icons From Executables

December 9, 2008 | By | 1 Comment

I found this code somewhere on the web two years ago. It basically gets the large (32 x 32 pixels) and small (16 x 16 pixels) icons of an executable. The function returns an Icon object that can be displayed on a form’s icon area or used as a bitmap on a picture box or any other control that accepts bitmaps. For the code to work, create a windows application, drag a picture box control to the form area and leave it with its default name (PictureBox1).



Related Posts:

Filed in: WinForms | Tags: , ,

Comments (1)

Links to this Post

  1. DotNetShoutout | July 8, 2009

Leave a Reply

Trackback URL | RSS Feed for This Entry