hi everyone, how to close an application when the user fails to enter thro login after his 3rd attempt......
i.e my application should allow any user to login for maximum of 3 times if he is unable to enter the correct userid & pwd,then my application should close ......