I am finding distance between two places using the following code but it is slow takes around 1 minute.
MapPoint.Application objApp = new MapPoint.Application();
MapPoint.Map objMap = null;
objMap = objApp.ActiveMap;
Object obj1 = 1;
objMap.ActiveRoute.Waypoints.Add(objMap.FindResults(txtfrom.Text)
.get_Item(ref obj1), "");
objMap.ActiveRoute.Waypoints.Add(objMap.FindResults(txtTo.Text)
.get_Item(ref obj1), "");
objMap.ActiveRoute.Calculate();
txtMiles.Text = objMap.ActiveRoute.Distance.ToString();