VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by Jon Barker (11 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (17 Votes)

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

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

Download Extract an icon from any file you wish, including the root of a drive or a folder (2 KB)

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

No comments have been posted about Extract an icon from any file you wish, including the root of a drive or a folder. Why not be the first to post a comment about Extract an icon from any file you wish, including the root of a drive or a folder.

Post your comment

Subject:
Message:
0/1000 characters