Avenue wraps: Avenue Wrap-Arounds for ArcObjects : a guide for converting Avenue scripts into VB/VBA code
CEDRA Avenue Wraps with the increased use and popularity of ArcGIS, the need to migrate Avenue-based applications to the ArcGIS environment has increased significantly. As such, many developers and educational institutions are faced with the dilemma of how to efficiently convert their Avenue code into a format that utilizes ArcObjects, and which is compatible with ArcGIS. One approach, which this book addresses, is to develop a series of "wraparounds" that facilitates the conversion process. That is, the creation of a library of procedures that emulate the function of Avenue requests. By establishing a one to one correspondence between Avenue requests and "wraparounds", the developer is able to substitute an Avenue request with the appropriate "wraparound", thereby significantly reducing the amount of time required to perform the conversion. Topics covered include: general Avenue to VB/VBA syntax differences, Views, Themes, Tables, Selection Sets, Graphic Elements, Querying, Calculating, File I/O operations, Message Boxes, Progress Bars, User-Document interaction, Manipulation of Feature Shapes, Legends, Classifications, Application deployment, and many others.
What people are saying - Write a review
We haven't found any reviews in the usual places.
Manipulation of String Variables
22 other sections not shown
active view theTheme aField aFileName aList aMsg ArcMap aShape1 attributes Avenue Wrap button classiﬁcation Click Collection Dim color coordinates corresponding Avenue request dBase declared where ﬁrst default deﬁned deleted dialog box Dim Dim Dim Dim pmxDoc display Double Dim editing enables the programmer ESRI North feature class ﬁeld Figure File Name ﬁmction ﬁrst called focus map font function enables geodatabase geometry given and retumed graphic text graphics layer Index Index Index iRec IUnknown layer or table layer theme lMxDocument Dim theTheme message box MsgBox note the following object operation opmode path name pElement pmxDoc As IMxDocument pmxDoc As lMxDocument polygon polyline processed RETURN progress bar Public Sub Q Q Q retumed variables sample code script selected features selection set shapefile shapeList speciﬁed statement sTblName String Dim subroutine enables theFeature theme or table theString theTheme As Variant TypeList Variant Dim window