CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2001
    Posts
    8

    Find All Open Windows

    I'd like to be able to see the titles of all the windows open on my Win2000 desktop. Actually, I only care about any open MSIE windows, and I want to know the title of the site they're open to. Can this be done in VB?

    Thanks in advance...


  2. #2
    Join Date
    Aug 2000
    Location
    NY, USA
    Posts
    632

    Re: Find All Open Windows

    I beleive it's going to help you:
    http://www.allapi.net/api/api215.php

    Vlad


  3. #3
    Join Date
    Apr 2000
    Posts
    737

    Re: Find All Open Windows

    try
    http://vblib.virtualave.net
    there is a function called GetAllWindowsTitle in class vbSystem


  4. #4
    Join Date
    Mar 2001
    Posts
    8

    Re: Find All Open Windows

    This code worked! Thanks. And for others who have the same question and are at the same non-advanced level of VB expertise as I am, it may help to know that the code you can snag from the www.allapi.net site needs to be put into a separate module. So, do Project->Add Module and put it in there.



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