Hello to You that are reading this, With the WinExists() function I check if a windows (an msgbox in my case) with a specified text title appear on the screen, and when it does, I simply close it. Select Case WinExists(" Reset ok", "The reset command was executed on remote client") WinClose(" Reset ok") Case WinExists("client not online", "The client was unreachable") WinClose("client not online") EndSelect well, is it there a way to know the handle of the executable who opened that win