Advertisement
Guest User

Import permissions ver 2.1

a guest
Sep 23rd, 2021
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.57 KB | None | 0 0
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.      If TextBox2.Text = hasilenkripsi Then
  3.          My.Computer.Registry.SetValue("HKEY_CURRENT_USER\" + hasilenkripsi, "Andi", "Aspin")
  4.          MessageBox.Show("Mã kích hoạt chính xác", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information)  
  5.          Me.Visible = False
  6.          Form2.Timer1.Enabled = False
  7.          Form2.ShowDialog()
  8.      Else
  9.          MsgBox("Mã kích hoạt không chính xác", MsgBoxStyle.Exclamation)
  10.      End If
  11. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement