Extract an icon from any file you wish, including the root of a drive or a folder

You can use this code to get the icon from any file on your hard disk.... Simply call the function with a filename; 'c:\testfile.exe', an imagelist to add the icon to; 'imagelist1', a picturebox for buffer purposes; 'picturebox1' and the size of the image you wish to extract, either 16, or 32 pixels. This code returns the index of the icon that has been added to the imagelist.
tHe_cLeanER
Rate Extract an icon from any file you wish, including the root of a drive or a folder
(17(17 Vote))
Download Extract an icon from any file you wish, including the root of a drive or a folder
Extract an icon from any file you wish, including the root of a drive or a folder Comments
No comments yet — be the first to post one!
Post a Comment