Playing with other process windows! [modified]
Visual Basic
3
Posts
2
Posters
0
Views
1
Watching
-
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:
-
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: