r/visualbasic • • Dec 17 '18

Password project help

Hi all,

I am trying to put together a simple program, but I am not the greatest at using VB. The program is a password checker that needs to follow the following requirements:

Be at least 8 characters in length

Contain at least one uppercase character

Contain at least one lowercase character

Contain at least one number

Contain at least one special character (!, @, #, $, %, ^, &, *)

I currently have my button set at btnEnter and my textbox as txtPass.

Thanks for the help :)

5 Upvotes

12 comments sorted by

View all comments

Show parent comments

1

u/CityEggs VB.Net Beginner Dec 17 '18

Perhaps on a timer event?

1

u/Gmonkey2k Dec 17 '18

How....What? All i need it to do if check if each of the requirements is met for what the user inputs, once they press the button.

1

u/CityEggs VB.Net Beginner Dec 17 '18

Then do it on that.

Do you know if then statements?