-
Using FindWindow()
I'm launching a COM server from a VB app,and want to make sure the COM server actually starts and is visible.
After launching the COM server, I'm calling
FindWindow("WindowName") but only have a partial string of whatis actually
in the COM server's titlebar.
The reason for this is the title has a version number in it, as well as the year, and each user can have different versions running ontheir system.
When I call FindWindow() with only the partial name in the titlebar it fails to find the window.
Is there any other way I can verify that a window is visible, without using the full title string of the COM server?
thanks
-
Re: Using FindWdino()
That shouldn't matter. I can find Notepad by searching for Notepad, when it is "Untitled - Notepad" FindWindow finds partial strings.