meters
End Enum

' Common dialog errors

Private Declare Function CommDlgExtendedError Lib "COMDLG32" () As Long

Public Enum EDialogError
    CDERR_DIALOGFAILURE = &amp;HFFFF

    CDERR_GENERALCODES = &amp;H0&amp;
    CDERR_STRUCTSIZE = &amp;H1&amp;
    CDERR_INITIALIZATION = &amp;H2&amp;
    CDERR_NOTEMPLATE = &amp;H3&amp;
    CDERR_NOHINSTANCE = &amp;H4&amp;
    CDERR_LOADSTRFAILURE = &amp;H5&amp;
    CDERR_FINDRESFAILURE = &amp;H6&amp;
    CDERR_LOADRESFAILURE = &amp;H7&amp;
    CDERR_LOCKRESFAILURE = &