troubleshooting Question

Progress Bar

Avatar of r3nder
r3nderFlag for United States of America asked on
.NET ProgrammingVisual Basic.NETMicrosoft Applications
13 Comments1 Solution531 ViewsLast Modified:
I am trying to add a progress bar in this button click. can anyone show me where ?

and how
 Private Sub btnAddUser_Click(sender As System.Object, e As System.EventArgs) Handles btnAddUser.Click
            btnAddUser.Enabled = False
            Dim sUserName = txtUsername.Text
            Dim sFirstname = txtFirstName.Text
            Dim sLastName = txtLastName.Text
            Dim sPassword = txtPassword.Text
            Dim sGroupname = cbGroupAdd.SelectedValue
            Dim sEmail = txtAddEmail.Text
            If ((txtPassword.Text) = (txtConfirmPassword.Text)) Then
                ADWrapper.CreateAdAccount(sUserName, sPassword, sFirstname, sLastName, sGroupname, sEmail)
                MessageBox.Show(txtFirstName.Text & " " & txtLastName.Text & " has been created and added to " & sGroupname, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Information)
                MessageBox.Show("Passwords do not match")
            End If
        Catch ex As Exception
        End Try
    End Sub

Any help  is appreciated
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros