francoi...@sigeurope.com
unread,Nov 8, 2013, 9:11:25 AM11/8/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
With a vbscript application i need extract longitude and latitude from poi.
BEGIN Source code
Function debug(ma_valeur)
WScript.Echo "valeur:" & ma_valeur
debug = 0
end function
Set objApp = CreateObject("Mappoint.Application")
Set objMap = objApp.ActiveMap
set objLoc = objMap.location
objApp.Visible = false
objApp.UserControl = False
'Recherche une adresse
loc="1 boulevard de la reine,78000,versailles"
Set objLoc = objMap.FindAddressResults(loc)
dblLon = objLoc.Longitude 'error for this instruction error 800A01B6
dblLat = objLoc.Latitude
END source code