I am trying to use Mappoint in a .Net Console app. I don't need to see the map, I just need mileage.
This is what I have
Dim objMap As New AxMapPoint.AxMappointControl()
objMap.NewMap(MapPoint.GeoMapRegion.geoMapNorthAme rica)
The latter command errors immediately with the following message:
"Exception of type InvalidActiveXStateException was thrown."
I have no other Mappoint related statements before this point.
Anyone have any thoughts on that?