View Single Post

  #5 (permalink)  
Old 10-24-2003
Rainer Rainer is offline
Junior Member
White Belt
 
Join Date: Jan 2003
Posts: 9
'sorry for spamming again!
' the ultimate solution:

Dim oLoc As Location
Dim oPin As Pushpin
Dim dbLat As Double
Dim dbLon As Double


Set oLoc = mc1.ActiveMap.FindPushpin(veh_list).Location
Call CalcPos(mc1.ActiveMap, oLoc, dbLat, dbLon)
mc1.ActiveMap.GetLocation(dbLat, dbLon, 0.1).GoTo

'The CalcPos - routine you will find here: (Many thanks to Gilles!!!)
'http://www.mp2kmag.com/articles.asp?ArticleID=13&key=extract.lat.lon
Reply With Quote