Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

ESRI.ArcGIS.Carto is missing?

$
0
0
Good morning all, I am just diving into ArcObjects and have been trying to work through some of the samples to get my feet wet, but am having issues with this one in particular.

I am trying to work through the 'Building Custom UI Elements' http://help.arcgis.com/en/sdk/10.0/a...000001ms000000

When I load the ZoomToActiveLayerinTOC snippet, i am getting an error that the ESRI.ArcGIS.Carto.IActiveView is not defined.

While it's faint, there are only four options in the ArcGIS class (ArcMapUI, Desktop, esriSystem, Framework)

What am I doing wrong?

I included a screen shot of the code sample.Attachment 21248
Attached Thumbnails
Click image for larger version

Name:	Sample.jpg‎
Views:	N/A
Size:	69.8 KB
ID:	21248  

Viewing all articles
Browse latest Browse all 1374

Trending Articles