VBA for ArcObjects

 COURSE OUTLINE

 

Duration                                                5 Days

 

Audience                                             This course is designed for experienced Data Processing or GIS professionals who wish to develop and/or maintain VBA applications in an ArcObjects environment or convert Avenue scripts to VBA.

 

Prerequisites                                       Students should have the following skills prior to enrollment in this course:

Ø       Understanding of basic GIS concepts and terms.

Ø       VB Programming (see Outline).

 

Description                                          The course covers many aspects of creating a VBA script using the ArcObjects object model, including tailoring of the user interface, accessing georeferenced map information, performing information based and spatial queries, navigating the document, map, layer and feature sets and performing dynamic modifications to the contents and layout of a map.

 

Objectives                                            Upon successful completion of this course, the student should be able to:

Ø       Implement buttons and tools

Ø       Convert Avenue scripts to equivalent VBA functionality

Ø       Traverse the basic components of the ArcObjects Object model

Ø       Perform dynamic modifications and queries within a map

 

Set Up Requirements                       The course requires the following set up and support:

Ø       Each student must have a desktop with access to a current release (8.1 or higher) of ArcMap

Ø       The classroom should have standard tools such as whiteboard, markers, etc.

Ø       The classroom must have an instructor desktop (access to programming tools) with an overhead projector

 

 

COURSE CONTENT


Overview

·          The components of the Object Model

·          The user interface

·          How VBA fits in

·          Lab Problem

 

Customizing the User Interface

·          Buttons vs Tools

·          Associating VBA code with the user interface

·          References

·          Toolbars

·          Locking

·          Testing and Debugging

 

ArcObjects

·          Overview

·          The Document Object

·          The Map Object

·          The Layer Object

·          The Feature Object

·          Types of layers

·          Types of features

·          The TypeOf Keyword (interfaces)

·          The IS operator

·          Using the collections

·          Geometry

·          Filters

·          Information Queries

·          Spatial Queries

·          Exercises

 

 Advanced Topics

·          Adding a layer to a map

·          The ArcMap Object Model

·          The Display Object Model

·          The Output Object Model

·          Working with color

·          Startup dialogs

·          ArcCatalog

·          Geodatabase

·          Spatial Reference Systems

·          Exercises

© copyright 2008, BCS, Inc., All Rights Reserved.