May 2021 1 96 Report
How do you create two passwords in visual basic?

explain in detail im new lol

I want to add multiple passwords on my program. what do i add to do that? im coding it like a key

here is the code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

If TextBox1.Text = "123" Then

MsgBox("Correct!", MsgBoxStyle.Information, "correct key")

Form2.Show()

Else

MsgBox("wrong key!", MsgBoxStyle.Critical, "Error")

Me.Close()

End If

41 minutes ago - 4 days left to answer.

Additional Details

can you explain that more? like in more detail? im kinda new sorry

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 QUIZLS.COM - All rights reserved.