Results 1 to 5 of 5

Thread: get the hwnd and the applications that are open

  1. #1

    Thread Starter
    Lively Member rotcrules's Avatar
    Join Date
    Mar 2004
    Location
    SD
    Posts
    113

    get the hwnd and the applications that are open

    what i am wanting to do is get all the apps that are open. then get the hWnd of the open apps. I know you can use the FindWindow API to get the hWn, but i want to know how to findout what is running.

    I would have put this in the API section of VBforums, but i put somthing simuler but no one repleid.

    THANKS
    -Nathan
    [Vbcode]If YourOpinion = WindowsIsCrap Then
    Kill Wndows
    Open Linux
    ElseIf YourOpinion = WindowsIsGreat Then
    Unload Me
    Else
    Get MSNTV
    End If[/vbcode]

  2. #2
    Member <-ShORe->'s Avatar
    Join Date
    Jul 2004
    Location
    Sudbury, Ontario
    Posts
    55
    Put a FileListBox in your form, run it and there's everything that running.

  3. #3

  4. #4

    Thread Starter
    Lively Member rotcrules's Avatar
    Join Date
    Mar 2004
    Location
    SD
    Posts
    113
    the filelistbox shows what files are in a directory, not what applications are running
    [Vbcode]If YourOpinion = WindowsIsCrap Then
    Kill Wndows
    Open Linux
    ElseIf YourOpinion = WindowsIsGreat Then
    Unload Me
    Else
    Get MSNTV
    End If[/vbcode]

  5. #5
    Frenzied Member ice_531's Avatar
    Join Date
    Aug 2002
    Location
    Sitting w/ Bob Status: -Next -To- Null- Friend: Philip
    Posts
    1,152
    "what i am wanting to do is get all the apps that are open."

    What do you mean "get them" ?


    But uh if you search the API forum i know theres a thread on finding AIM instant message window ....by caption

    it has all the API's you would need...
    by searching all toplevel windows and retrieving hWnds.

    if you dont find it ill pm you the apis lol ill have to find them tho
    :::`DISCLAIMER`:::
    Do NOT take anything i have posted to be truthful in any way, shape or form.
    Thank You!

    --------------------------------
    "Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
    "Finaly I can look as gay as I want..." - NoteMe
    Languages: VB6, BASIC, Java, C#. C++

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