How to retreive map from mapquest.com

Hi all

I don't know either this is a technical post by me or not.

But I want to know that

Is there any way to retrieve map from mapqest.com website from foxpro.

Currently I am calling mapquest webpage to display the map by passing address as parameter.

But I want to retrieve the required map from mapquest (if possible) & want to show map on my vfp form.

I am using this code to call mapquest webpage.

DECLARE INTEGERShellExecuteINshell32.dll;

INTEGERhndWin, ;

STRINGcAction, ;

STRINGcFileName, ;

STRINGcParams, ;

STRINGcDir, ;

INTEGERnShowWin

lcAddress = "7850 west monroe rd"

lcCity = "houston"

lcState = 'tx'

lcCntry = "us"

lcZip = ""

lcLink = "http://www.mapquest.com/maps/map.adp?searchtype=address"

lcGo =ALLTRIM(lcLink) + '&country='+ALLTRIM(lcCntry) +'&formtype=address&address='+lcAddress+'&city='+lcCity+'&state='+lcState

=ShellExecute(0,"open",lcgo,"","",1)

Thanks & Regards

Surinder Singh

[2324 byte] By [surindersingh] at [2008-1-10]
# 1
Look at this, please
http://www.mapquest.com/maps/map.adp?formtype=address&address=7850+west+monroe+rd&city=houston&state=tx&zipcode=
You would rewrite

lcAddress = "7850 west monroe rd"

as

lcAddress = "7850+west+monroe+rd"

Levi.S at 2007-10-3 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...
# 2

Hi Levi

I am doing this very well but I just want to know that can I get/download that map so that I can show that map on my vfp form.

Thanks

surindersingh at 2007-10-3 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...