>I know of the FindWindow API function, but that does not work here, because the window title of the forms contains variable elements such as 'Connected to ' + cServerName and similar stuff.
>
>Any other things come to mind, I'd appreciate your feedback.
>
>TIA
You can also use WMI, look at message #
027526 for a function you can use as a template for your's
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges