I need the code to show a street map on a form.
The way this should work is, a user enters an address in a textbox, then
VFP determines which is the default browser
It looks up the address and shows the corresponding map.
I tried the following code:
I placed a Microsoft Web Browser control on a form (I named it oWeb)
Local cAddress
cAddress = Alltrim(thisform.text1.Value)
thisform.oWeb.navigate( "
http://maps.google.com/maps?q="+Chrtran(Alltrim(cAddress)," ","+"))
The above code shows the street map as in Google maps, inside the oWeb control on the form.
I need a similar code if the default browser is Fire Fox or Internet Explorer
Rafael Copquin
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar