Wilder1626
asked on
VB6 - Get lattitude and longitude on mouse click in Google Map
Hi
I have this application in VB6 with a brwWebBrowser.
When the form open, it runs:
Text1 = a specific Latitude and Text2 = a specific Longitude.
What i would like to do is to be able to point a specific place on the same map (by clicking it) and it would tell me the exact Latitude and Longitude for that specific point. It would then update the Text1 and Text 2 with that lat and long values.
How can i do that?
Thanks again for your help.
I have this application in VB6 with a brwWebBrowser.
When the form open, it runs:
StartingAddress = "http://www.8051projects.info/maps.asp?lat=" & Text1.Text & "&lon=" & Text2.Text
'Try to navigate to the starting address
brwWebBrowser.Navigate StartingAddress
Text1 = a specific Latitude and Text2 = a specific Longitude.
What i would like to do is to be able to point a specific place on the same map (by clicking it) and it would tell me the exact Latitude and Longitude for that specific point. It would then update the Text1 and Text 2 with that lat and long values.
How can i do that?
Thanks again for your help.
ASKER
Time to move onward VB6 hasn't been supported since March 2008. With the demise of support for Windows XP, VB6 has no supported operating system. The express versions are available free here. You're kicking a dead horse these days.
ASKER
Hi David,
I have a huge application already done on VB6. But i do understand that i will have to convert it one day. I should probably start ASAP. Will i be able to build the same type of apps,exe with forms with Express 2012 for Windows Desktop?
I have a huge application already done on VB6. But i do understand that i will have to convert it one day. I should probably start ASAP. Will i be able to build the same type of apps,exe with forms with Express 2012 for Windows Desktop?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I started to re build the application in Visual Strudio.
ASKER
http://vikku.info/programm