Seems simple....close window(popup)
Posted on 2003-02-19
Seems like a simple little app but I am having trouble with it. I am not a VB programmer so please go easy with any sample code.
Here's what I would like my application to do:
1. every ten minutes loop through ALL open (visible windows).
2. if there are other windows open & visible besides one with the caption of "Backup" then close them (they are usually popup dialogs that are related to the "backup" application/window)
I am having problems finding sample code to close a window/popup without knowing its caption (which I don't)
Please provide sample code, I would definitely appreciate it.