Using shellexecute may be a good option, but not always. I want total
control over what is done on my systems, because many times, I am using OLE
and I want to be able to pull data from the results of the query. If the
application doesn't require that, it's no big deal.

John Harvey

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Sytze de Boer
Sent: Wednesday, March 16, 2011 4:34 PM
To: profox
Subject: Re: Google Maps API inside a VFP9 app (was Re: [NF] awfully
quiet....something to talk about)

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.

Reply via email to