|
-
March 4th, 2006, 08:45 PM
#1
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
Last edited by cappy2112; March 4th, 2006 at 09:19 PM.
-
March 4th, 2006, 09:15 PM
#2
Re: Using FindWdino()
That shouldn't matter. I can find Notepad by searching for Notepad, when it is "Untitled - Notepad" FindWindow finds partial strings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|