ods to access the file.  We don't need to, but there
   ' is more flexibility this way to ensure we get the correct bits.
   hFile = CreateFile(sFile, GENERIC_READ, 0, ByVal 0&amp;, OPEN_EXISTING,
    FILE_ATTRIBUTE_NORMAL, 0)
   If (hFile &lt;&gt; 0) Then
      ReadFile hFile, m_tID, Len(m_tID), dwBytesRead, ByVal 0&amp;
   
      If (m_tID.idReserved = 0) Then ' No data in idReserved flag
         If (m_tID.idType = IMAGE_ICON) Then ' Is icon
            Debug.Print "Icon contains " &amp; m_tID.idCount &a