Versions des environnements
Network:
Windows 2003 Server
Hi Sir Rick,
Thank you for your reply.
This is what we have done:
- a central server has a table containing the different branches together with their geo location (longitude and latitude).
- the geo location data of the branches will be obtained by asking the manager's to click a link that will send this info
Now, our app should:
- when app fires, it is my hope that my VFP app can be able to get geo location (I don't know how), query the server's branch table in order to verify the identity of the branch where the app is being used
You mentioned using a web browser control. Does Google Chrome have this too? Any sample code please?
Thanks
Dennis
>Most browsers support geo location APIs that provide reasonably accurate geo location data even when you're not connected. The way this works is when you connect with a phone through the same router, that geo location is co-related with that of non-GPS devices and a best guess is made from there.
>
>The easiest way to capture this from a FoxPro app is to a use a Web browser control and run some JavaScript using the GeoLocation() API to grab the current location.
>
>Or you can call Google APIs via plain HTTP calls to a service but that will cost you eventually if you have frequent access.
>
>+++ Rick ---
>
>
>>Hi Experts,
>>
>>I would like to get the geo location of where my desktop app is running from. It is an app being using in different locations.
>>
>>Is this possible?
>>
>>Kinda like when you go to maps.google.com, it defaults to show where you are.
>>
>>I would want that upon user logs in, it also logs the longitude and latitude of the workstation.
>>
>>Thanks for any attention and help!
>>
>>Love live the Fox!
>>
>>Dennis
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement