I think that that functionality is built into the OS itself for specific file types that it recognises, i.e. MS programmed it to recognise. For instance, Windows 7 uses the first page of a PDF as the icon. I don't think it works that way in Vista for PDFs.