VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Ariel file icon extractor

Tom de Lange  (5 Submissions)   Files/File Controls/Input/Output   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This project demonstrates how to extract large and small icons associated with files into an imagelist and displaying them in a listview with
the filenames. The SHGetFileInfo function of the shell32.dll library is used, which makes the job much easier than before. The ImageList_Draw
function in comctl32.dll is used to draw the icon in a picture box,from where it is placed into the image list. Other submissions on VBC do an OK job on large icons, but the small icons are a mess. Not here! Credits to Peter Meier for his DelRecent posting.

Side Effects
ImageList can't hold more than 400 icons, so check duplicates.

API Declarations
SHGetFileInfo() in shell32.dll
ImageList_Draw() in comctl32.dll

Rate Ariel file icon extractor (27(27 Vote))

Download Ariel file icon extractor

Ariel file icon extractor Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters