I'd love to do this but don't know how to do it with shellexecute S
On Thu, Mar 17, 2011 at 10:27 AM, Ted Roche <[email protected]> wrote: > On Wed, Mar 16, 2011 at 5:15 PM, Sytze de Boer <[email protected]> > wrote: > > 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 > > > > Clever, short and to the point. > > You might make one tweak to make it better: create the url string and > then launch it with ShellExecute. Then the page comes up in the user's > choice of browsers (Google Chrome, FireFox or Internet Explorer) > rather than yours. > > -- > Ted Roche > Ted Roche & Associates, LLC > http://www.tedroche.com > [excessive quoting removed by server] _______________________________________________ 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/[email protected] ** 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.

