| |
| |
Introduction | |
| |
| |
| |
The VBA Development Environment | |
| |
| |
Opening and Closing the VBA Editor | |
| |
| |
The VBA Editor User Interface | |
| |
| |
File Menu | |
| |
| |
View Menu | |
| |
| |
Insert Menu | |
| |
| |
Debug and Run Menus | |
| |
| |
Using the VBA Editor | |
| |
| |
Creating User Forms in the VBA Editor | |
| |
| |
Using MsgBox and InputBox | |
| |
| |
| |
The VBA Programming Language | |
| |
| |
Referencing Objects with Variables | |
| |
| |
Declaring Constants and Arrays | |
| |
| |
Using the Global Application Objects | |
| |
| |
Scopes of the Variable | |
| |
| |
Writing VBA Statements | |
| |
| |
Conditional Statement | |
| |
| |
Loop Structure | |
| |
| |
Continuation Statement | |
| |
| |
Adding Comments | |
| |
| |
Creating Procedures | |
| |
| |
Using Sub | |
| |
| |
Using Function | |
| |
| |
| |
Debugging and Error Handling | |
| |
| |
Types of Errors | |
| |
| |
Compile or Language Error | |
| |
| |
Runtime Error | |
| |
| |
Logic Error | |
| |
| |
Debugging Compile and Runtime Errors | |
| |
| |
Debugging Logic Errors | |
| |
| |
Adding Error Handlers | |
| |
| |
| |
Distributing Your Application | |
| |
| |
Selecting a Development Environment | |
| |
| |
Storing the Application Code | |
| |
| |
Protecting Your Code | |
| |
| |
| |
Component Object Model Basics | |
| |
| |
Defining COM, ActiveX, and OLE | |
| |
| |
Programming Language Independence | |
| |
| |
Location Transparency | |
| |
| |
| |
Component Object Model Interfaces | |
| |
| |
Classes and Objects | |
| |
| |
Interfaces | |
| |
| |
Inbound and Outbound Interfaces | |
| |
| |
| |
Developing COM Applications | |
| |
| |
Where to Start | |
| |
| |
Checking the Interface Type | |
| |
| |
Client-side Storage | |
| |
| |
Using Enumerators | |
| |
| |
Programming Guidelines | |
| |
| |
Procedure Name | |
| |
| |
Header | |
| |
| |
Comment Line | |
| |
| |
Variable Name | |
| |
| |
Alignment | |
| |
| |
| |
ArcObjects Basics | |
| |
| |
ESRI Object Libraries | |
| |
| |
ESRI's Object Browser | |
| |
| |
ArcObjects Developer Kit | |
| |
| |
| |
ArcObjects Elements | |
| |
| |
Reading the ArcObjects Object Model Diagram | |
| |
| |
Objects | |
| |
| |
Classes | |
| |
| |
Relationships | |
| |
| |
Interfaces | |
| |
| |
Methods and Properties | |
| |
| |
Methodology for Writing ArcObjects Applications | |
| |
| |
| |
Definition | |
| |
| |
| |
Functional Units | |
| |
| |
| |
Subsystems | |
| |
| |
| |
Objects | |
| |
| |
| |
Assemble | |
| |
| |
Further Reading | |
| |
| |
| |
Developing ArcGIS Applications with ArcObjects | |
| |
| |
Defining the Application | |
| |
| |
Constructing the Application | |
| |
| |
Building the User Interface | |
| |
| |
Building the Procedures | |
| |
| |
Running the Application | |
| |
| |
Expanding the Application | |
| |
| |
| |
Customizing the ArcMap User Interface | |
| |
| |
What Can Be Customized | |
| |
| |
Interactive Customization | |
| |
| |
Toolbars Tab | |
| |
| |
Commands Tab | |
| |
| |
Options Tab | |
| |
| |
Saving Your Customization | |
| |
| |
Programming the User Interface | |
| |
| |
Toolbars | |
| |
| |
Menus | |
| |
| |
Status Bar | |
| |
| |
Mouse Cursor | |
| |
| |
Using Dialog Boxes | |
| |
| |
| |
The ArcMap Objects Model | |
| |
| |
ArcMap Core Objects | |
| |
| |
ArcMap Data Window Objects | |
| |
| |
ArcMap Element Objects | |
| |
| |
ArcMap Map-surround Objects | |
| |
| |
| |
Using Maps | |
| |
| |
Defining the Application | |
| |
| |
Accessing the Map Object | |
| |
| |
Selecting by Location | |
| |
| |
Adding Graphics | |
| |
| |
Changing the Extent | |
| |
| |
Testing the Application | |
| |
| |
| |
Using Layers | |
| |
| |
Defining the Application | |
| |
| |
Finding a Layer | |
| |
| |
Loading a Shape File | |
| |
| |
Querying a Layer | |
| |
| |
Zooming to Selected Features | |
| |
| |
Labeling a Layer | |
| |
| |
Testing the Application | |
| |
| |
| |
Using Data Windows | |
| |
| |
Accessing Data Windows | |
| |
| |
Using the Overview Window | |
| |
| |
Using the Magnifier Window | |
| |
| |
Using the Identify Window | |
| |
| |
| |
Using Page Layouts | |
| |
| |
Defining the Application | |
| |
| |
Using Templates | |
| |
| |
Clearing the Layout | |
| |
| |
Creating a Layout | |
| |
| |
Setting the Page Size | |
| |
| |
Positioning Map Frames | |
| |
| |
Adding a Rectangle | |
| |
| |
Adding the Legend | |
| |
| |
Adding the North Arrow | |
| |
| |
Adding the Scale Bar | |
| |
| |
Adding Text Elements | |
| |
| |
Testing the Application | |
| |
| |
| |
Address Matching | |
| |
| |
Defining the Application | |
| |
| |
Finding the Geocoding Service | |
| |
| |
Finding the Address | |
| |
| |
Testing the Application | |
| |
| |
Index | |