ballisticnylon Posted September 19, 2003 Posted September 19, 2003 Hello - I'm writing a simple program in VB .NET that recurses through subdirectories and populates a ListView every time it finds a file who's name matches a search criteria (much like the search window in windows). I can get all the file's info with a FileInfo object (for when the ListView is in details view) just fine. But when the ListView is in LargeIcon view, I need to have an imageList filled with the icons for these files. What's the easiest way to extract the icon of a given file? Quote "It may be roundly asserted that human ingenuity cannot concoct a cipher which human ingenuity cannot resolve." - Edgar Allan Poe, 1841 I long to accomplish great and noble tasks, but it is my chief duty to accomplish humble tasks as though they were great and noble. The world is moved along, not only by the mighty shoves of its heroes, but also by the aggregate of the tiny pushes of each honest worker. - Helen Keller
*Experts* mutant Posted September 19, 2003 *Experts* Posted September 19, 2003 You might want to look here: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=69691 :) Quote
ballisticnylon Posted September 19, 2003 Author Posted September 19, 2003 That's exactly what I needed; thanks for pointing it out. Next time I'll go trolling through the code library before posting. Quote "It may be roundly asserted that human ingenuity cannot concoct a cipher which human ingenuity cannot resolve." - Edgar Allan Poe, 1841 I long to accomplish great and noble tasks, but it is my chief duty to accomplish humble tasks as though they were great and noble. The world is moved along, not only by the mighty shoves of its heroes, but also by the aggregate of the tiny pushes of each honest worker. - Helen Keller
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.