Get File Icons from registry [VB.NET Class]

This is an article on Get File Icons from registry [VB.NET Class] in Visual Basic [VB].

Rated 5.00 By 1 users

This is a new class written by me to extract the icon assigned to a file in your current system.

Ex: Get the icon you see for mp3 files when you open your music folder. Many at first think this is just a WIN API wrapper for the SHGetfileinfo function. NOPE, that method would just grab the icon from an existing file, but if the files donot exist, say you make something like winzip and you need to show the icons of the file list inside, there's no way to use that method. So the only way is to retrieve it from the registry.