Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing other windows
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Killing other windows
Miscellaneous
Thread ID:
00261634
Message ID:
00261634
Views:
58
I'm trying to create a form that pre processes url's before going to that site. I've been successful in using the web browser control and having the program return to the previous url, if certain keywords are detected in the proposed web page. The problem I'm having is when you attempt to go to a site which spawns multiple windows. I've tried creating a cursor of all file handles prior to the navigation and checking against any new one, but I can't kill the other windows cleanly. Anyone got any ideas? I'm using some of George Tasker's stuff he posted on killing windows using sendmessage, but the windows tend to just clear the contents and freeze. I think if there were a way to surface the iexplore.exe, like in NT's task manager and kill it, that would work because it appears to be a parent object for all Internet Explorer windows. When I kill the program in the task manager all IE instances are eliminated.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Next
Reply
Map
View

Click here to load this message in the networking platform