Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Sub Main() Dim hForm As Long '// le handle de la fenetre hForm = FindWindow(vbNullString, "Calculatrice") If hForm > 0 Then '// si on le trouve MsgBox "La calculatrice est active." Else MsgBox "La calculatrice n'est pas active." End If End Sub