Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Taking a picture from a page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00597390
Message ID:
00597536
Vues:
20
>>I´m completely lost here. Please could you help me. I know how to navigate to a page, but how to "locate the desired graphic in the page, get the reference to the graphic in the HTML, and suck it down from the reference"?
>
>OK, instantiate InternetExplorer.Application, and invoke the NavigateTo() method with the URL. Grab the OuterHTML, which contains the embedded HTML text. Parse this to find the IMAGE tag for the desired image; it'll either contain an embedded image, or more likely, will contain the URL for the image. If you then grab the image from the URL (it'll likely be a JPEG, but could be in any of a number of formats), you have the image you want.
>
>You can do the same thing using the WebBrowser control, which would allow you to place the image on-screen directly by simply navigating to the graphic embedded in the referenced IMAGE.

Thank you very much. I´ll try it. Happy Holydays!!!
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform