View Single Post

  #2 (permalink)  
Old 08-29-2002
John Meyer's Avatar
John Meyer John Meyer is offline
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Here is a sample you can try, hope it helps. 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
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Reply With Quote