Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Another Application
Message
From
05/04/2000 05:55:08
 
 
To
05/04/2000 05:33:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00354201
Message ID:
00355567
Views:
25
>Would you pls. tell me how to get the parent window handle of Internet Explorer?

The easiest way to manipulate IE sessions is using Shell.Application, which has a Windows collection - each entry in it is a running instance of InternetExplorer.application, and can be told to quit very easily:
oShell = CREATEOBJ('Shell.Application')
FOR Each oIEWin in oShell.Windows
   oIEWin.Quit()
ENDFOR
You can invoke any method of InternetExplorer.Application or access any of the properties for it via the oIEWin object reference in the FOR EACH loop.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform