Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window hook for non existence

Status
Not open for further replies.

shadowbroker

Programmer
Jan 24, 2011
3
GB
am using this:
i_IE = CREATE OLEObject
i_IE.ConnectToNewObject("InternetExplorer.Application")

to open an external web browser for a secure payment site. i need to be able to check to see if it has been closed to do other processing around the issue. have tried the findwindowa call, but it isn't really a window as it is an ole object and will be there at all times. any help in finding out when the window is closed. i'll use a timer event to keep poking it to see, but not sure what to 'poke'.

tg
 
because at the time it wuold need to check for it the object is essentially gone. unless i don't get your meaning. can you explain better?
 
I mean using Windows API calls to look at the processes which are running and checking to see if IE is among them. If not, you know it's been closed. This assumes no other IE process is running though.

Matt

"Nature forges everything on the anvil of time"
 
nice one. i'm not sure if that is totally the case, only one running at a time, but i can find out, it is a pretty locked down environ. thanks for the advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top