3
shouts

Retrieving Icons From Executables | CodeHill

posted by amgadhsamgadhs 250 days, 7 hours, 59 minutes ago
Wednesday, July 08, 2009 4:25:52 AM GMT

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).

category: Smart Client | clicked: 0 | | source: codehill.com | show counter code
tags: C#, icons, Windows Forms

No comments yet, be the first one to post comment.

To post your comment please login or signup