> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Sytze de Boer > Sent: Wednesday, March 16, 2011 2:15 PM > To: [email protected] > Subject: Re: Google Maps API inside a VFP9 app (was Re: [NF] > awfullyquiet....something to talk about) > > I'm probably way off the mark here, but in my application I have > incorporated 3 instances where my client can click a button, for an > employee, client or supplier and it will find the person via GM > My clients love it > > Code is > IF !EMPTY(lcAddress) > Local loIE > loIE=Createobject('internetexplorer.application') > loIE.Navigate( "http://maps.google.com/maps?q="+Strtran(lcAddress," > ","+") ) > loIE.Visible = .T. > ENDIF >
That's pretty much the technique I use to fetch the address info, but I'm building an XML file so don't throw up the browser just yet. Want to see this sort of thing in action? This is my work address info returned from the maps service: http://maps.google.com/maps/api/geocode/xml?address=1460%20G%20Street%20 Springfield%20%20Oregon&sensor=false Thanks, Matthew Jarvis || Business Systems Analyst IT Department McKenzie-Willamette Medical Center 1460 G Street, Springfield, OR 97477 || Ph: 541-744-6092 || Fax: 541-744-6145 -------------------------------------------------------------------------- Disclaimer: This electronic message may contain information that is Proprietary, Confidential, or legally privileged or protected. It is intended only for the use of the individual(s) and entity named in the message. If you are not an intended recipient of this message, please notify the sender immediately and delete the material from your computer. Do not deliver, distribute or copy this message and do not disclose its contents or take any action in reliance on the information it contains. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/69f310c05dd83c48a84ba3769ce1ecf804675...@tntriexevs02.triadhospitals.net ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

