We have created some excavation features on the map; however, these are merely polygons and we need to extract useful information from them, and display and edit these excavations. For that, we will use the Excavation Editor tool to click on an excavation and display the Excavation Editor form with the excavation information. Then we will give the ability to edit this information. Follow these steps:
If necessary, open Visual Studio Express in administrator mode; we need to do this since our project is actually writing to the registry this time, so it needs administrator permissions. To do that, right-click on Visual Studio and click on Run as administrator.
Go to File, then click on Open Project, browse to the
Yharnam
project fromC:\ArcGISByExample\yharnam\Code
, and click on Open.Right-click on
frmExcavationEditor.vb
and click on View Code to view the class code.Add the
ArcMapApplication
property as shown in the following code so that we can...