| Introduction |
|
ix |
|
|
The VBA Development Environment | |
|
1 |
(12) |
|
Opening and Closing the VBA Editor | |
|
2 |
(1) |
|
The VBA Editor User Interface | |
|
3 |
(2) |
|
|
|
4 |
(1) |
|
|
|
5 |
(1) |
|
|
|
5 |
(1) |
|
|
|
5 |
(1) |
|
|
|
5 |
(3) |
|
Creating User Forms in the VBA Editor | |
|
8 |
(2) |
|
Using MsgBox and InputBox | |
|
10 |
(3) |
|
The VBA Programming Language | |
|
13 |
(14) |
|
Referencing Objects with Variables | |
|
13 |
(4) |
|
Declaring Constants and Arrays | |
|
15 |
(1) |
|
Using the Global Application Objects | |
|
16 |
(1) |
|
|
|
16 |
(1) |
|
|
|
17 |
(5) |
|
|
|
17 |
(2) |
|
|
|
19 |
(3) |
|
|
|
22 |
(1) |
|
|
|
22 |
(1) |
|
|
|
22 |
(5) |
|
|
|
23 |
(1) |
|
|
|
24 |
(3) |
|
Debugging and Error Handling | |
|
27 |
(10) |
|
|
|
27 |
(4) |
|
Compile or Language Error | |
|
28 |
(1) |
|
|
|
28 |
(2) |
|
|
|
30 |
(1) |
|
Debugging Compile and Runtime Errors | |
|
31 |
(6) |
|
|
|
32 |
(3) |
|
|
|
35 |
(2) |
|
Distributing Your Application | |
|
37 |
(4) |
|
Selecting a Development Environment | |
|
37 |
(1) |
|
Storing the Application Code | |
|
37 |
(2) |
|
|
|
39 |
(2) |
|
Component Object Model Basics | |
|
41 |
(4) |
|
Defining COM, ActiveX, and OLE | |
|
41 |
(1) |
|
Programming Language Independence | |
|
42 |
(1) |
|
|
|
43 |
(2) |
|
Component Object Model Interfaces | |
|
45 |
(4) |
|
|
|
45 |
(1) |
|
|
|
46 |
(1) |
|
Inbound and Outbound Interfaces | |
|
47 |
(2) |
|
Developing COM Applications | |
|
49 |
(8) |
|
|
|
49 |
(1) |
|
Checking the Interface Type | |
|
50 |
(1) |
|
|
|
51 |
(1) |
|
|
|
51 |
(2) |
|
|
|
53 |
(4) |
|
|
|
53 |
(1) |
|
|
|
54 |
(1) |
|
|
|
54 |
(1) |
|
|
|
55 |
(1) |
|
|
|
55 |
(2) |
|
|
|
57 |
(8) |
|
|
|
57 |
(3) |
|
|
|
60 |
(3) |
|
|
|
63 |
(2) |
|
|
|
65 |
(14) |
|
Reading the ArcObjects Object Model Diagram | |
|
65 |
(6) |
|
|
|
66 |
(1) |
|
|
|
66 |
(1) |
|
|
|
67 |
(2) |
|
|
|
69 |
(1) |
|
|
|
70 |
(1) |
|
Methodology for Writing ArcObjects Applications | |
|
71 |
(7) |
|
|
|
72 |
(1) |
|
Stage 2: Functional Units | |
|
73 |
(1) |
|
|
|
74 |
(1) |
|
|
|
75 |
(1) |
|
|
|
76 |
(2) |
|
|
|
78 |
(1) |
|
Developing ArcGIS Applications with ArcObjects | |
|
79 |
(28) |
|
|
|
80 |
(1) |
|
Constructing the Application | |
|
81 |
(1) |
|
Building the User Interface | |
|
81 |
(5) |
|
|
|
86 |
(16) |
|
|
|
102 |
(3) |
|
Expanding the Application | |
|
105 |
(2) |
|
Customizing the ArcMap User Interface | |
|
107 |
(22) |
|
|
|
107 |
(2) |
|
Interactive Customization | |
|
109 |
(5) |
|
|
|
111 |
(1) |
|
|
|
112 |
(1) |
|
|
|
113 |
(1) |
|
Saving Your Customization | |
|
114 |
(1) |
|
Programming the User Interface | |
|
115 |
(10) |
|
|
|
118 |
(1) |
|
|
|
119 |
(3) |
|
|
|
122 |
(1) |
|
|
|
123 |
(2) |
|
|
|
125 |
(4) |
|
|
|
129 |
(6) |
|
|
|
129 |
(2) |
|
ArcMap Data Window Objects | |
|
131 |
(1) |
|
|
|
132 |
(1) |
|
ArcMap Map-surround Objects | |
|
133 |
(2) |
|
|
|
135 |
(14) |
|
|
|
135 |
(1) |
|
|
|
136 |
(1) |
|
|
|
137 |
(5) |
|
|
|
142 |
(3) |
|
|
|
145 |
(1) |
|
|
|
146 |
(3) |
|
|
|
149 |
(10) |
|
|
|
149 |
(1) |
|
|
|
150 |
(1) |
|
|
|
151 |
(2) |
|
|
|
153 |
(1) |
|
Zooming to Selected Features | |
|
154 |
(2) |
|
|
|
156 |
(1) |
|
|
|
156 |
(3) |
|
|
|
159 |
(10) |
|
|
|
159 |
(3) |
|
Using the Overview Window | |
|
162 |
(1) |
|
Using the Magnifier Window | |
|
163 |
(1) |
|
Using the Identify Window | |
|
164 |
(5) |
|
|
|
169 |
(28) |
|
|
|
169 |
(1) |
|
|
|
170 |
(1) |
|
|
|
171 |
(2) |
|
|
|
173 |
(1) |
|
|
|
174 |
(4) |
|
|
|
178 |
(6) |
|
|
|
184 |
(1) |
|
|
|
185 |
(3) |
|
|
|
188 |
(1) |
|
|
|
189 |
(2) |
|
|
|
191 |
(3) |
|
|
|
194 |
(3) |
|
|
|
197 |
(6) |
|
|
|
197 |
(3) |
|
Finding the Geocoding Service | |
|
200 |
(1) |
|
|
|
201 |
(1) |
|
|
|
201 |
(2) |
| Index |
|
203 |
|