Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Im working on this as a side project. in visual basic seventh edition prefered a

ID: 3807249 • Letter: I

Question

Im working on this as a side project. in visual basic seventh edition prefered any idea how i can get the code for this. suppose to log in and show balance and get an error message after three failed login attempts

Successful log in will show the transactions section (see below) Bank Transactions BankTransactions 1.0.0.0 Log In Log In Username: Bank Password: Log Out Enter Transactions Debit o Amount: Description: Credit DONNA Submit Exit Enter Transactions The user will be able to enter a transaction. For example: Amount: 100.00 Description: Pay Check Radio Box: Select Credit Balance: Will display the balance of the user Notice the User's Name is displayed under the Balance Box

Explanation / Answer

Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click

Dim password As String

Dim i As String

Dim Att As Integer

password = “password”

i = txtPassInput.text

If Att = 3 Then

                Me.Close()

End If

If i = password Then

                MsgBox(“Entered Correct password”)

Else

                Att = Att + 1

MsgBox(“Entered Wrong Password”)

End If

End Sub