amanuel
08-29-2002, 12:43 PM
How can i check if an address is valid or not?
How to check if an address is valid?amanuel 08-29-2002, 12:43 PM How can i check if an address is valid or not? John Meyer 08-29-2002, 02:33 PM 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 EdB 08-29-2002, 09:42 PM You can also use the FindResults property. Samples in the Help File | ||