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.

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