Programming ArcObjects with VBA: A Task-Oriented Approach
ArcGIS users can streamline workflow, increase functionality, and improve efficiency by learning to program ArcObjects, the development platform for ArcGIS. Programming ArcObjects with VBA: A Task-Oriented Approach directly relates what you already know about ArcGIS to programming, making it easier to sort out objects, properties, and methods in code.
This volume, which adopts Visual Basic for Applications (VBA) for programming, first analyzes Geodatabase, the organization of ArcObjects, and ArcOjects help sources. It then reviews programming basics including the writing of code, calling subs and functions, Visual Basic Editor, code debugging, and user interface customization.
The book discusses the programming of ArcObjects for solving common GIS tasks such as dataset and layer management, data conversion, vector and raster data analysis, and much more. Each task-programming chapter has three parts: a quick review of ArcGIS commands; a discussion of related objects; and sample programs for problem solving.
An accompanying CD contains 95 sample programs, each of which describes its usage, contains a list of key properties and methods, and a listing and explanation of code. Many samples are divided into segments to better connect code lines with explanations. These programs, stored as text files, can be easily imported into Visual Basic Editor in either ArcMap or ArcCatalog to view and run. The CD also contains datasets that can be used to run the sample programs.