Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading ASP data from a web page to VFP
Message
 
 
À
17/09/2000 12:13:01
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00417294
Message ID:
00422806
Vues:
20
>>I don't think that you can (easily) get an object reference to an already running instance of IE5.
>
>oSHell = CREATEOBJECT("Shell.Application")
>* Shell.Windows contains a collection of all IE and Explorer objects...
>FOR EACH oWindow IN oShell.Windows
>  IF oWindow.LocationURL = "http://"
>    * oWindow is a reference to a running IE object
>  ENDIF
>ENDFOR
Hi Erik,
On computers running Win95 or NT4, the shell objects are available only if the integrated desktop is installed. Version 4.71 of the shell is on all Win98 computers, and version 5.00 is on all Win2K computers.

I'm using NT4 without the "integrated desktop installed" - so I couldn't instantiate oShell! It took me a while to find the snippet above, so I guess my (easily) was not entirely incorrect.
Regards,
Houston.
censored.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform