Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating google map and mapquest
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01349793
Message ID:
01425073
Vues:
78
Did not really find an answer, but did change the way we are requesting the maps from employees to clients by not sending the address but latitude and longitude values.

>Did you find any resolution for this problem? I'm having a similar problem for Outlook when it's not configured properly and I'm wondering how can we trap it / do something about it?
>
>Thanks.
>
>>Our application has a button to automate internet explorer and navigate to google/mapquest.
>>
>>This has been working for some time without too many problems other than sometimes address can not be found.
>>
>>Just lately the following error message comes up once in awhile and basically the only fix i have found is to reboot the computer.
>>
>>The error message is:
>>
>>
This Action cannot be completed because the other program is busy.  Choose "Switch To" to activate the busy program and correct the problem
>>
>>this message has 3 buttons. "Switch" "Retry" "Cancel" where clicking on the switch button activates the start menu, retry seems to do nothing and the cancel is not enabled. When I click the switch button, i have no idea what to select and everything i try seems to not work. I am not able to break out other than through the task manager and from that point on it will continually error out. Rebooting the computer seems like the only fix so far.
>>
>>This will not happen for many times and then when it does, seems to repeat quite a few times.
>>
>>The code that I use is as follows
>>
>>
>>*** For google
>>     loMap = Createobject('internetexplorer.application')
>>     loMap.Navigate('http://maps.google.com/maps?q='+lcAddress)
>>    loMap.Visible = .T.
>>
>>**** For mapquest
>>     loMap = Createobject('internetexplorer.application')
>>     loMap.Navigate('http://www.mapquest.com/maps/'+lcAddress)
>>     loMap.Visible = .T.
>>
>>
>>
>>I even put inside of a Try Catch and still gives me the errors. Any suggestions is greatly appreciated.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform