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:
  StartingAddress = "http://www.8051projects.info/maps.asp?lat=" & Text1.Text & "&lon=" & Text2.Text
      'Try to navigate to the starting address
        brwWebBrowser.Navigate StartingAddress

Open in new window


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.
LVL 11
Wilder1626Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wilder1626Author Commented:
This is an example of what i would need, but inside my VB6 application:
http://vikku.info/programming/google-maps-v3/get-lattitude-longitude-onclick-and-onmouseover-google-map-v3.htm
0
Wilder1626Author Commented:
If this can help, this is a sample of the project.
Thanks again
custom-browser.zip
0
David Johnson, CD, MVPOwnerCommented:
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.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Wilder1626Author Commented:
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?
0
David Johnson, CD, MVPOwnerCommented:
yes but you will have to re-learn a lot of stuff going forward. The new ways of doing things, the syntax, and so forth. FYI your solution can have both C# and VB modules.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wilder1626Author Commented:
Thanks, I started to re build the application in Visual Strudio.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.