The first sample code under "MilitaryAnalyst Library Overview" in the Developer Help to use IMeasurementTool to determine the end point of a geodesic line requires the last statement "Set pEnd = pMeasureTool.FromPoint" to be replaced with "Set pEnd = pMeasureTool.ToPoint".