CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Apr 2003
    Posts
    322

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured