We are all familiar with the “explorer” style look and with the idea that it gives different icons to different file types. This is useful, because it lets us see at a glance what type of file we are looking at and it makes for a generally more user friendly environment.
But this also means that if we want to displays icons in our apps that represent files (like you would on a file sharing program or an FTP client), we will need to get those same icons and display them in (for example) a picture box. In this example I hope to show you how to do this. I'll give you the fully written out code at the end to save you having to piece lots of bits of code together.
Comments