Information générale
Catégorie:
Produits tierce partie
>Thanks guys for the pointers to the PEM's of Internet Explorer.
>
>Unfortunately I found no property for the source text, what I'm trying to do is navigate to a URL and parse the resulting HTML in order to
>
>1. Validate the existence of the site
>2. Check for certain words like "moved"
>
>Has anyone got any good ideas about how to do this?
>
>Presently I use a cumbersome technique involving a web surfing robot that gives results in internet shortcut format.
same problem here. the answer might have something to do with this method
HRESULT get_Document(
IDispatch * FAR* ppDisp // address of variable for IDispatch pointer
);
Retrieves the automation object of the active document, if any.
i tried following code at the command window
oie=createobject("internetexplorer.application")
oie.visible=.T.
oie.navigate('c:\vfp\sample\vfpie')
oDoc=oie.document()
if you type show object vfp informs that oDoc is an object but without any properties. i was hoping oDoc has a property that can will give me the HTML source.
If anyone finds the answer let me know.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement