Hello, I'm trying to use Visual Basic Express to implement the Visual Basic.NET version of the Zoom to Layer add-in sample located here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/ZoomToLayerButton/00480000024t000000/ I copied and pasted the code into the IDE and activated all the references listed in the import statements. My problem is that all instances of My.ArcMap.Application in the code register as errors. For example, the IDE identifies My.ArcMap.Application in the following statement as an error: Enabled = My.ArcMap.Application IsNot Nothing The error message says, "Arcmap is not a member of My." At this point, I've exhausted all my ideas for fixing the problem. I appreciate any help you can provide. Thanks, Brad
... View more