Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Taking a picture from a page
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00597390
Message ID:
00597536
Views:
26
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform