e, m_tBits(iEntry - 1).bBits(0),
                      m_tIDE(iEntry - 1).dwBytesInRes, dwBytesRead, ByVal 0&amp;
                     ' Check if we got the right number:
                     If (dwBytesRead &lt;&gt; m_tIDE(iEntry - 1).dwBytesInRes) Then
                        sFail = "Icon Images Array is Corrupt."
                        bFail = True
                        Exit For
                     End If
                  Next iEntry
               
                  LoadIcon = Not (bFail)
        