Уважаемые! Не подскажите почему этот пример, взятый из Help не работает.
Set pApp = Application -возникает ошибка (Type mismatch)
GxFileFilter Example
The following VBA code demonstrates how to use the AddFileType method to add the "*.aml" file type to the filter. The file type will be displayed with the default icon since we are not specifying one with the last parameter of AddFileType:
Dim pApp As IGxApplication, pCat As IGxCatalog
Dim pFileFilter As IGxFileFilter
Set pApp = Application
Set pCat = pApp.Catalog
Set pFileFilter = pCat.FileFilter
pFileFilter.AddFileType "aml", "Workstation ArcInfo Macro files", ""