View Single Post

  #2 (permalink)  
Old 09-21-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,323
Hi,

Reading address fields is something you can do in access and to display the location you can do something like:

Code:
            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;
            // PP.GoTo();
            // or what you wisch as result:
            mp.ActiveMap.GoToLatLong(lat, lon, alt);
Make alt == 1 to have precise results.
Reply With Quote