Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close IE Browser from an ActiveDoc
Message
De
06/12/1999 09:44:10
 
 
À
06/12/1999 07:24:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00298328
Message ID:
00299140
Vues:
17
>>>If you can hook the parent InternetExplorer object, issue a quit to it; >>otherwise, you can spin through the WIndows collection of the >>Shell.Application object to examine the collection of active InternetExplorer >>objects, find the one to kill, and issue a quit.
>
>For clarity I presume you mean using the GETHOST() function. By setting an Object Reference to this, and then issuing a quit once the form is released, I can close the browser. If I wanted to ensure the app was closed before quitting the browser, is there a way of issuing the QUIT command on exiting the Foxpro App??
>

I haven't tried using the GetHost(), but I've previously posted code using the Shell.Application object's Windows collection to spin through and reference active InternetExplorer.Application objects, and you could use that technique.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform