Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Playing with other process windows! [modified]

Playing with other process windows! [modified]

Scheduled Pinned Locked Moved Visual Basic
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FeRtoll
    wrote on last edited by
    #1
    S 1 Reply Last reply
    0
    • F FeRtoll
      S Offline
      S Offline
      slam Iqbal
      wrote on last edited by
      #2

      Just try what I've given. APIs are not yet needed.

                          ''id,title,handle
                          Try
                              Dim ID As Integer, Title As String, handle As IntPtr
                              For Each P As Process In Process.GetProcessesByName("Notepad")
                                  With P
                                      ID = .Id
                                      Title = .MainWindowTitle
                                      handle = .MainWindowHandle
                                  End With
                              Next
                          Catch ex As Exception
                              '''''''''''''''''
                          End Try
      

      Good luck.:thumbsup:

      F 1 Reply Last reply
      0
      • S slam Iqbal

        Just try what I've given. APIs are not yet needed.

                            ''id,title,handle
                            Try
                                Dim ID As Integer, Title As String, handle As IntPtr
                                For Each P As Process In Process.GetProcessesByName("Notepad")
                                    With P
                                        ID = .Id
                                        Title = .MainWindowTitle
                                        handle = .MainWindowHandle
                                    End With
                                Next
                            Catch ex As Exception
                                '''''''''''''''''
                            End Try
        

        Good luck.:thumbsup:

        F Offline
        F Offline
        FeRtoll
        wrote on last edited by
        #3

        thank you but that not helping me. i need handles of child windows of an process! however i solved it so i dont need anymore :) thanks man

        FeRtoll Software.net ------------ E-Mail me WebPage

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups