Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading ASP data from a web page to VFP
Message
 
 
To
17/09/2000 12:13:01
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00417294
Message ID:
00422806
Views:
21
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform