I'm calculating the Distance (thanks John... I think I was loafer to search... it was into the Help File !) between 2 points :
It works fine !Code:Set objMap = frmMAIN.ctrlMAPPOINT.ActiveMap Set objRoute = objMap.ActiveRoute objRoute.Waypoints.Add objMap.FindPushpin(frmMAIN.zt1) objRoute.Waypoints.Add objMap.FindPushpin(frmMAIN.zt2) objRoute.Calculate MsgBox "Length : " + CStr(objRoute.Distance) MsgBox "Time : " + CStr(objRoute.DrivingTime / geoOneMinute)
I clear the objRoute (Clear method) and hide the Itinerary windows but I'd like to disabled completly thsi Itinerary Windows !
Is this possible ?