This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoid Default Login after unsucessful attempt

 
Brennen smith
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am connecting to an ISeries database I am trying to use a custom login window. The problem is that if the user enters the wrong username/password the Connection takes over and prompts the user with a builtin login to "try again" My code is built to handle incorrect passwords but this issue is getting in the way.

PasswordResetLogin() is my custom login window


if

fails. It immediately takes over prompting the user to reeneter the data with a default window.

CustomLogin

Shot at 2011-11-03

ErrorPrompt

Shot at 2011-11-03

Default Login

Shot at 2011-11-03

^^^^^How do i avoid this window???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic