Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing other windows
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00261634
Message ID:
00263431
Views:
19
John,

There's an article on my website showing one way of getting the content of the URL without actually having a browser window.

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform