AnsweredAssumed Answered

Problems using the "How to identify route locations" code sample

Question asked by tteaf on Feb 11, 2015

I am trying to use the code for "How to identify route locations" and my code stops at the following line:

If TypeOf pRtLoc Is IRouteMeasurePointLocation Then

It stops because the Type of pRtLoc is NOT an IRouteMeasurePointLocation.

 

The one thing I would like to note is that I am not using this code in VBA, I am using it in a VB.NET ArcMap Add-In.  I have done all of the appropriate "CType" conversions that were not required in VBA.  And I have also verified that the route layer I am working with has m-values.

 

Any ideas on what might be wrong?

Outcomes