
Add a Windows User
Add 3 TextBox's
Add 1 Button
TextBox1 will be for the new Username
Textbox2 will be the password field
Textbox3 will be the verify password field
Button_Click Event for button
PHP Code:
Dim username As String = TextBox1.Text
Dim password As String = TextBox2.Text
'Match the passwords, if they match, then add user
If TextBox2.Text = TextBox3.Text Then
Shell("net user " & username & " " & password & " /add")
MessageBox.Show("Windows User Created)
Else
MessageBox.Show("Passwords are different")
End If
