Local lnWinHandle Declare Integer FindWindow In Win32API Integer, String lnWinHandle = FindWindow( 0, "Caption_of_your_App" ) If lnWinHandle # 0 =Messagebox( "Your app is alreay in use!", 16 ) Cancel Endif