IgnoreFilters example for Visual Basic

Note: Also works with Access 95 and 97.

This example shows how to ignore filters so that certain files are not loaded.

    'First, make sure PreLoaded Filters does not
    'contain CMP, and that 0 filters can be cached
    Lead1.PreLoadFilters 3, 0, "BMP,FAX,TIF"
    
    'now, ignore cmp filter (never load cmp files)
    Lead1.IgnoreFilters "CMP"