Hello,
I've got a really simple question but it's a real problem
for me to find a solution.
I'd like to put a pushpin into a map with the FindAddressResults
or FindResults methods.
What I know : the STREET, the ZIP CODE and the CITY.
When I make such a test :
Dim objPIN As MapPoint.Pushpin
Dim objFR As MapPoint.FindResults
Set objFR = Me.ctrlMAPPOINT.ActiveMap.FindAddressResults("RUE DE LA MAIRIE", "DIJON", , , "21000", "FRANCE")
Set objPIN = Me.ctrlMAPPOINT.ActiveMap.AddPushpin(objFR.Item(1) , "TEST")
objPIN.Symbol = 5
The street named "RUE DE LA MAIRIE" doesn't exist in the DIJON city. So, mapPoint puts a PushPin to about 300 kms for the DIJON city !!!!
What's wrong in my code ?
Regards,
Vincent BENNER