_ 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
AI
Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Codice sorgente
Upload
Commenti originali (3)
Recuperato da Wayback Machine