Thanks Alan,
I have been looking at Rick's software along with Craig Boyd's JSON class, so I 
was on the right track... it just seems so damned complicated for a simple 
result.

Dave


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Alan Bourke
Sent: 25 August 2016 15:31
To: [email protected]
Subject: Re: VFP Call to Google Geocoding API

> I guess it is going to be a little like the web services that were the 
> rage some time ago .... I stayed away from them.

Well, it *is* a web service, and web services are increasingly fundamental to 
how the web operates. JSON is essentially just objects in Javascript notation 
so you need some way of getting that into a format you can work with in VFP, 
and almost all web services communicate in either JSON or XML. 

You need to at the very least be able to send a HTTP request to the Google 
endpoint, receive a JSON response (and handle any errors), and decode the JSON 
into a format you can work with. If you want to stay in VFP-land I'd be looking 
at Rick Strahl's web tools for all that.
Otherwise .NET can do all that natively, you could for example create a 
COM-callable DLL to do it, or just an assembly called with Rick's 
WWDotNetBridge tool.

--
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.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