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:
00597430
Vues:
11
>>>Hi, is it possible to take a picture from a homepage via OLE Automation?
>>>
>>
>>Absolutely; you can use IE's automation server InternetExplorer.Application directly, or use the Web Browser ActiveX control that comes with VFP (which is a wrapper around InternetExplorer.Application that permits you to embed a browser in a VFP form) quite easily - there are classes for using the Web Browser control in VFP's Foundation classes (in the FFC subfolder of VFP.)
>
>Do you know how can I do?

Do I have code already written - no; however, there are native properties and methods of InternetExplorer.Application that will provide you with the content of a page as HTML, or you can use a tool like George Tasker's Obj2BMP to convert a VFP Form or control to a .BMP file, which would automagically work with the Web Browser control. The object model for InternetExplorer.Application is provided in the MSDN Library, which can be accessed on-line at http://msdn.microsoft.com; George's Obj2BMP is available for download on UT in the Files section.
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