Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Internet Explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00486575
Message ID:
00486621
Vues:
17
Well, if the fuel oil price is on the web page, then it will be embedded in the actual HTML. The HTML is simply text which you should be able to parse and find your price. An easy way to figure out where the price is located in the HTML is to go to the website in IE and then right click in the pane and select View Source. The HTML will be opened in Notepad (or some other text editor) and then you can find the fuel price and its "delimiters" so that you can parse it. There was a good article on doing something similar to this by Erik Moore in FoxPro Advisor in June 2000.

HTH,
Scott

>Scott,
>
>Thanks for the input.
>
>What I'm trying to do is automate a manual process. I have a customer who is looking up fuel oil prices on a daily basis from a web site. They print a report then key those numbers in to an Access application. My company was hired to convert the Access application into FoxPro with enhancements. One of the enhancements was to automate the fuel oil price look.
>
>My idea was to use Internet Explorer and ActiveX controls to go to the web site either print the report to disk or capture the screen and pull those prices into a FoxPro table.
Scott King
The Support Source Corporation
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform