Arcgis Developer's Guide for VBA with CDROM

Sistemas Operativos

3 pages
4 views

Please download to get full document.

View again

of 3
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Share
Description
Arcgis Developer's Guide for VBA with CDROM
Transcript
  Arcgis Developer's Guide for VBA with CDROMIntroduction p. ix The VBA Development Environment p. 1 Opening and Closing the VBA Editor p. 2 The VBA Editor User Interface p. 3 File Menu p. 4 View Menu p. 5 Insert Menu p. 5 Debug and Run Menus p. 5 Using the VBA Editor p. 5 Creating User Forms in the VBA Editor p. 8 Using MsgBox and InputBox p. 10 The VBA Programming Language p. 13 Referencing Objects with Variables p. 13 Declaring Constants and Arrays p. 15 Using the Global Application Objects p. 16 Scopes of the Variable p. 16 Writing VBA Statements p. 17 Conditional Statement p. 17 Loop Structure p. 19 Continuation Statement p. 22 Adding Comments p. 22 Creating Procedures p. 22 Using Sub p. 23 Using Function p. 24 Debugging and Error Handling p. 27 Types of Errors p. 27 Compile or Language Error p. 28 Runtime Error p. 28 Logic Error p. 30 Debugging Compile and Runtime Errors p. 31 Debugging Logic Errors p. 32 Adding Error Handlers p. 35 Distributing Your Application p. 37 Selecting a Development Environment p. 37 Storing the Application Code p. 37 Protecting Your Code p. 39 Component Object Model Basics p. 41 Defining COM, ActiveX, and OLE p. 41 Programming Language Independence p. 42 Location Transparency p. 43 Component Object Model Interfaces p. 45 Classes and Objects p. 45 Interfaces p. 46 Inbound and Outbound Interfaces p. 47 Developing COM Applications p. 49 Where to Start p. 49 Checking the Interface Type p. 50 Client-side Storage p. 51 Using Enumerators p. 51 Programming Guidelines p. 53 Procedure Name p. 53 Header p. 54 Comment Line p. 54 Variable Name p. 55 Alignment p. 55 ArcObjects Basics p. 57  ESRI Object Libraries p. 57 ESRI's Object Browser p. 60 ArcObjects Developer Kit p. 63 ArcObjects Elements p. 65 Reading the ArcObjects Object Model Diagram p. 65 Objects p. 66 Classes p. 66 Relationships p. 67 Interfaces p. 69 Methods and Properties p. 70 Methodology for Writing ArcObjects Applications p. 71 Definition p. 72 Functional Units p. 73 Subsystems p. 74 Objects p. 75 Assemble p. 76 Further Reading p. 78 Developing ArcGIS Applications with ArcObjects p. 79 Defining the Application p. 80 Constructing the Application p. 81 Building the User Interface p. 81 Building the Procedures p. 86 Running the Application p. 102 Expanding the Application p. 105 Customizing the ArcMap User Interface p. 107 What Can Be Customized p. 107 Interactive Customization p. 109 Toolbars Tab p. 111 Commands Tab p. 112 Options Tab p. 113 Saving Your Customization p. 114 Programming the User Interface p. 115 Toolbars p. 118 Menus p. 119 Status Bar p. 122 Mouse Cursor p. 123 Using Dialog Boxes p. 125 The ArcMap Objects Model p. 129 ArcMap Core Objects p. 129 ArcMap Data Window Objects p. 131 ArcMap Element Objects p. 132 ArcMap Map-surround Objects p. 133 Using Maps p. 135 Defining the Application p. 135 Accessing the Map Object p. 136 Selecting by Location p. 137 Adding Graphics p. 142 Changing the Extent p. 145 Testing the Application p. 146 Using Layers p. 149 Defining the Application p. 149 Finding a Layer p. 150 Loading a Shape File p. 151 Querying a Layer p. 153 Zooming to Selected Features p. 154 Labeling a Layer p. 156 Testing the Application p. 156 Using Data Windows p. 159 Accessing Data Windows p. 159 Using the Overview Window p. 162  Using the Magnifier Window p. 163 Using the Identify Window p. 164 Using Page Layouts p. 169 Defining the Application p. 169 Using Templates p. 170 Clearing the Layout p. 171 Creating a Layout p. 173 Setting the Page Size p. 174 Positioning Map Frames p. 178 Adding a Rectangle p. 184 Adding the Legend p. 185 Adding the North Arrow p. 188 Adding the Scale Bar p. 189 Adding Text Elements p. 191 Testing the Application p. 194 Address Matching p. 197 Defining the Application p. 197 Finding the Geocoding Service p. 200 Finding the Address p. 201 Testing the Application p. 201 Index p. 203 Table of Contents provided by Ingram. All Rights Reserved.
Advertisement
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks