Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub cmdproses_Click()
- If txtulangpass.Text = txtpassbaru.Text Then
- query = "update user set password='" & txtpassbaru.Text & "' where iduser= '" & txtid.Text & "'"
- conn.Execute query
- MsgBox "Passwor Berhasil di update"
- Unload Me
- frmutama.Show
- frmutama.Enabled = True
- frmutama.mnlogin.Enabled = True
- frmutama.mnubahpassword.Enabled = False
- Else
- MsgBox "Password Tidak Sama"
- End If
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement