|
I'm not sure if this is what you are looking for but here is how I would find if the address can be matched in mappoint. I'm using Visual Basic 6 with the ActiveX Control on my form Named MPC. The ADDR, CITY, ST and ZIP would be your variables.
Dim objmap As MapPointCtl.Map
Set objmap = MPC.ActiveMap
Dim objloc As MapPointCtl.Location
Set objLoc = objmap.FindAddress(ADDR, CITY, ST, ZIP, geoCountryUnitedStates)
If objLoc Is Nothing Then
Msgbox "Can't find address"
End if |