I am adding a list of addresses into Mappoint using C#.
foreach (Stop stop in _stops)
_route.Waypoints.Add(_mpMap.FindAddressResults(stop.Street, stop.City, "", "Oregon", stop.Zip)[1]);
Sometimes address format is wrong and because of that I get either crash or complected wrong address.
In mappoint (application) you can search for places and if mappoint finds multiple or you make a mistake in address, it opens a find and gives you options to search and/or add address anyway.
Example:
Notice how entered address is poorly formatted, but mapoint could easly find full address with normal formatting. Sometimes there are more results and I need to be able to select manually if that happens. Question: How?
Added later on:
I can call dialog itself with method ShowFindDialog
and I can get the count of results found with .Count parameter
MapPoint.FindResults results = _mpMap.FindAddressResults(stop.Street, stop.City, "", "Oregon", stop.Zip);
MessageBox.Show("Found " + results.Count + " results");
But I can't find a way to specify address to ShowFindDialog