hi all,

I have a form that would have a person's address on it, I'd like to be able
to send the address to the web and get a map of the address to be displayed
in an image control or an ole control.

how would I go about achieving this?

Thank you

Hutch

--


---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com

Re: Getting a map from the internet and displaying it on a form by Dan

Dan
Sat Oct 08 22:35:23 CDT 2005

For a "proof of concept" you could drop a webbrowser control on the form and
navigate it to the same place you'd land if you look up an address at
maps.yahoo.com (or wherever).

For a production app, you'll probably have to license the capability from
them.

Dan

Hutch Elassaad wrote:
> hi all,
>
> I have a form that would have a person's address on it, I'd like to
> be able to send the address to the web and get a map of the address
> to be displayed in an image control or an ole control.
>
> how would I go about achieving this?
>
> Thank you
>
> Hutch



Re: Getting a map from the internet and displaying it on a form by Hutch

Hutch
Mon Oct 10 18:58:01 CDT 2005

Dan,

Do you have an example? I really don't know where to even start on this.

Thank you,

Hutch

--


---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com


"Dan Freeman" <spam@microsoft.com> wrote in message
news:egQG8JIzFHA.3812@TK2MSFTNGP09.phx.gbl...
> For a "proof of concept" you could drop a webbrowser control on the form
and
> navigate it to the same place you'd land if you look up an address at
> maps.yahoo.com (or wherever).
>
> For a production app, you'll probably have to license the capability from
> them.
>
> Dan
>
> Hutch Elassaad wrote:
> > hi all,
> >
> > I have a form that would have a person's address on it, I'd like to
> > be able to send the address to the web and get a map of the address
> > to be displayed in an image control or an ole control.
> >
> > how would I go about achieving this?
> >
> > Thank you
> >
> > Hutch
>
>



Re: Getting a map from the internet and displaying it on a form by Dan

Dan
Tue Oct 11 10:54:31 CDT 2005

Do (_samples + "\solution\solution.app")
Foundation Classes -> Create a Visual Foxpro web browser

Dan

Hutch Elassaad wrote:
> Dan,
>
> Do you have an example? I really don't know where to even start on
> this.
>
> Thank you,
>
> Hutch
>
>
> "Dan Freeman" <spam@microsoft.com> wrote in message
> news:egQG8JIzFHA.3812@TK2MSFTNGP09.phx.gbl...
>> For a "proof of concept" you could drop a webbrowser control on the
>> form and navigate it to the same place you'd land if you look up an
>> address at maps.yahoo.com (or wherever).
>>
>> For a production app, you'll probably have to license the capability
>> from them.
>>
>> Dan
>>
>> Hutch Elassaad wrote:
>>> hi all,
>>>
>>> I have a form that would have a person's address on it, I'd like to
>>> be able to send the address to the web and get a map of the address
>>> to be displayed in an image control or an ole control.
>>>
>>> how would I go about achieving this?
>>>
>>> Thank you
>>>
>>> Hutch



Re: Getting a map from the internet and displaying it on a form by Fred

Fred
Wed Oct 12 20:17:55 CDT 2005

Got this form someone on the UT (UniversalThread):

*--------------------------------------------
* Place we are looking for
*--------------------------------------------
cAddress = "769 Youngs Hill Rd, Easton, PA"

LOCAL loIE
*--------------------------------------------
* Open IE
*--------------------------------------------
loIE=CREATEOBJECT('internetexplorer.application')

*--------------------------------------------
* Navigate to Google's Map site. (way cool place).
*--------------------------------------------
loIE.Navigate( "http://maps.google.com/maps?q="+strtran(cAddress," ","+") )
*
* Use this address format for directions:
* http://maps.google.com/maps?saddr=Willington,CT&daddr=Wayne,NJ
*
* or use satelite image:
*
*http://maps.google.com/maps?ll=40.927849,-74.273758&spn=0.018003,0.022573&t=
*k&saddr=Willington,CT&daddr=Wayne,NJ&hl=en
*

*--------------------------------------------
* Make visible
*--------------------------------------------
loIE.VISIBLE = .T.

RETURN


--
Fred
Microsoft Visual FoxPro MVP


"Hutch Elassaad" <helassaad@comcast.net> wrote in message
news:EO-dncdTxIeUndbeRVn-pg@comcast.com...
> Dan,
>
> Do you have an example? I really don't know where to even start on this.
>
> Thank you,
>
> Hutch
>
> --
>
>
> ---------------------------------------------------------------------
> "Are you still wasting your time with spam?...
> There is a solution!"
>
> Protected by GIANT Company's Spam Inspector
> The most powerful anti-spam software available.
> http://mail.spaminspector.com
>
>
> "Dan Freeman" <spam@microsoft.com> wrote in message
> news:egQG8JIzFHA.3812@TK2MSFTNGP09.phx.gbl...
>> For a "proof of concept" you could drop a webbrowser control on the form
> and
>> navigate it to the same place you'd land if you look up an address at
>> maps.yahoo.com (or wherever).
>>
>> For a production app, you'll probably have to license the capability from
>> them.
>>
>> Dan
>>
>> Hutch Elassaad wrote:
>> > hi all,
>> >
>> > I have a form that would have a person's address on it, I'd like to
>> > be able to send the address to the web and get a map of the address
>> > to be displayed in an image control or an ole control.
>> >
>> > how would I go about achieving this?
>> >
>> > Thank you
>> >
>> > Hutch
>>
>>
>
>