My code:
Private Sub APRI_LAT_LNG()
STRADA = LAT & "," & LNG
Me.WebBrowser1.Visible = True
Me.Text1.SetFocus
Me.WebBrowser1.Navigate " & STRADA & "/17?mapSize=640,480&pp=" & STRADA & ";8&mapLayer=Basemap,Buildings&key=" & BINGKEY
Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
Me.CZOOM.Enabled = True
Me.WebBrowser1.Document.body.Style.border = "none"
Me.WebBrowser1.Document.body.Scroll = "no"
Me.WebBrowser1.Document.body.setAttribute "scroll", "no"
Me.Text1.SetFocus
End Sub
possible to return in MyVarStreet the name of the nearest street, the lat and lng value?
use for test:
lat=40.674700
lng=14.510800
is a street based city=NAPOLI>countryPIMONTE>zipcode>80050
Private Sub APRI_LAT_LNG()
STRADA = LAT & "," & LNG
Me.WebBrowser1.Visible = True
Me.Text1.SetFocus
Me.WebBrowser1.Navigate " & STRADA & "/17?mapSize=640,480&pp=" & STRADA & ";8&mapLayer=Basemap,Buildings&key=" & BINGKEY
Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
Me.CZOOM.Enabled = True
Me.WebBrowser1.Document.body.Style.border = "none"
Me.WebBrowser1.Document.body.Scroll = "no"
Me.WebBrowser1.Document.body.setAttribute "scroll", "no"
Me.Text1.SetFocus
End Sub
possible to return in MyVarStreet the name of the nearest street, the lat and lng value?
use for test:
lat=40.674700
lng=14.510800
is a street based city=NAPOLI>countryPIMONTE>zipcode>80050