On Tue, Jul 14, 2009 at 6:00 PM, Bill Anderson<[email protected]> wrote:
> The following is a cut down version of automating Google searches.
>
> goIE = CREATEOBJECT([InternetExplorer.Application])

Bill:

I'm not sure of your ultimate goal here, but I'd suggest that OLE
Automation of high-level MS objects tends to be fragile and need high
maintenance. IME, MS tends to change those APIs not just from version
to version, but in service packs and security patches (since evil
doers may be trying to do something similar to what you're trying). If
there's a way you could get the same information by using lower level
Win API calls, you're more likely to have a solution that would run
over a variety of versions and be more stable.

Using the Google Search RESTful API
(http://googlesystem.blogspot.com/2008/04/google-search-rest-api.html)
and low level Win API calls to retrieve a web page, and a little bit
of parsing to turn JSON into a VFP structure, you could be all set,
and you can leave IE behind.

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


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