09-20-2005, 08:27 PM
I want to be able to create a page in a subform that automatically reads the address fields and displays the location with a MapPoint ActiveX. Where do I begin? Thanks!
09-21-2005, 12:22 PM
Reading address fields is something you can do in access and to display the location you can do something like:
Location loc = mp.ActiveMap.GetLocation(lat, lon, alt);
Pushpin pp = mp.ActiveMap.AddPushpin(loc, name);
pp.Symbol = theSymbol;
pp.Note = theText;
// PP.BalloonState = GeoBalloonState.geoDisplayBalloon;
// pp.Highlight = true;
// or what you wisch as result:
mp.ActiveMap.GoToLatLong(lat, lon, alt);
Make alt == 1 to have precise results.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO