Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet Explorer - accessing properties
Message
 
À
06/01/1997 19:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00016467
Message ID:
00016628
Vues:
50
>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
Fil
Voir

Click here to load this message in the networking platform