Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capturing data on client machine from a ASP page.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00384415
Message ID:
00384431
Vues:
35
>Is there any way to programatically capture the data that is being displayed in a browser? I have a function that sends an address, city, state, and zipcode to a Post Office cgi script which sends back the corrected and standardised address plus the Carrier Route and zip+4 information. I want to capture that corrected data and be able to put it into a table. If I manually click on "View Page Source" I can see the returned information in the currently viewable WEB page but I have done a search to find that information on the hard drive (hopeing it was cached somewhere) but without any luck.
>

If you're using IE as the browser, you can hook the instances of IE running at any given moment through the Shell.Application object's Windows collection - each member is an instance of InternetExplorer.Application, and the full IE object model, including the inner and outer HTML for the page is accessible. The Web Browser control can place an instance of IE in an ActiveX control of a form, and you can simply instantiate and navigate an instance of InternetExplorer.Application using CREATEOBJ() and navigate and manipulate it as a COM object. Lots of ways of skinning this.

>The function is being run through the browser function of Compiled HTML Help (I guess that is the hhctrl.ocx control but I don't know) so at least that part will be consistant for all users.
>
>Any ideas or leads would be appreciated.
>
>Ed
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform