Hi iHi i want tape name of one city as TEhran in a textbox and click on one boutton and automatic go to show this city in googleearth what must i do thank you
Visual FoxPro General
Hi iHi i want tape name of one city as TEhran in a textbox and click on one boutton and automatic go to show this city in googleearth what must i do thank you
I'm not sure that typing just city name would be enough. If you have the full address, that's better. See my reply bellow.
From the solution by Sergey Berezniker on UT:
TEXT TO lcAddress NOSHOW West Wind Technologies 32 Kaiea Place Paia, Hawaii 96779 United States ENDTEXT oGE = CREATEOBJECT("GoogleEarth.ApplicationGE") DO WHILE oGE.IsInitialized = 0 OR oGE.IsOnline = 0 DOEVENTS ENDDO oSC = oGE.SearchController *oSC.ClearResults INKEY(5) oSC.Search(lcAddress)
Another solution in the same thread: http://www.js-software.eu/blogging/ p=16
If you want to connect two addressed use the following html http://maps.google.com/maps saddr=Willington,CT&daddr=Wayne,NJ
That's also from UT thread (http://www.universalthread.com/wconnect/wc.dll 2,41,18,1021035#1021298)
The referenced links work after you log into UT.
this is a great article....
but i think it might go against Andy's interpretation of the rules... because you have the potential
to send money to Rick via PayPal for the contents of the article...
blah blah blah
great article...
thanks for the link...
i hope Rick Strahl doesn't get life in front of a firing squad for "advertising".
Dave.
Sorry! I was having some problems with removing the off-topic threads. Please re-post it.
It's ok.
I was saying the quicker way is to use the command run in a "click" method.