ERROR
Running ArcObjects code returns the following error:
"Method or data member not found."
The Set keyword is used incorrectly. Set is required to assign a property by reference and to create new objects. Set is not required when setting a property by value.
Code:
Set pPageLayout = pMxDoc.PageLayout
Code:
pMap.MapUnits = esriFeet
Code:
Dim pFeature as IFeature
Set pFeature = New Feature
Note:
For more information on Set see the book 'Exploring ArcObjects'.
Get help from ArcGIS experts
Download the Esri Support App