Jan 6, 2016 at 5:08 PM
I'm trying to select a polygon in a shapefile. The following is the code I'm using, the first three lines work to identify the shape (based on coordinates) correctly. The 4th line generates a syntax error, and points to set_ShapeSelected as not being understood by the compiler. It is as if the function set_ShapeSelected doesn't exist. I'm using version 4.8.6 of the activex component in a VBA environment
    targetShapeIndex = selectedLayerShapefile.PointInShapefile(ProjX, ProjY)
    selectedLayerShapefile.set_ShapeSelected(targetShapeIndex, true)
Jan 6, 2016 at 5:29 PM
Nevermind, I found the answer here:
Marked as answer by pmeems on 1/21/2016 at 7:13 AM