well im not a programmer at all im doing networking at college and they are making us do some programming as part of it and iv got realy stuck with this one
arranmc182
Posts
-
VB password help -
VB password help"Just set the PasswordChar property of your TextBox to *. " i would do that but i carnt as i only mad a form that says click here to log in with a button then i put all the code on that so i carnt load up the for for when coding to do that im not realy bother how the code is as long as it works in some way cus this is for college and they dont care what code we use as long as it works
-
VB password helpim trying to make a program that makes u enter a password inorder to use a program the only problem is that u can see the pass word that istyped i would like to hide it so u just see *** insted of text here is my code .......................................... Public Class Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Password As String Dim InputPassword As String Dim Attempt As Integer Password = "test" Attempt = 0 Do InputPassword = InputBox("Enter password. This is attempt number " & Attempt & ".") Attempt = Attempt + 1 Loop Until (Attempt = 3) Or (InputPassword = Password) If InputPassword = Password Then MsgBox("This password is valid!") Dim F1 As New Form1() F1.Show() Else MsgBox("This password is invalid!") End If End Sub End Class
-
VB password helpChandraRam if u could post up the code on how to do that that would be a verry big help
-
VB password helpim trying to make a program that makes u enter a password inorder to use a program the only problem is that u can see the pass word that istyped i would like to hide it so u just see *** insted of text here is my code .......................................... Public Class Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Password As String Dim InputPassword As String Dim Attempt As Integer Password = "test" Attempt = 0 Do InputPassword = InputBox("Enter password. This is attempt number " & Attempt & ".") Attempt = Attempt + 1 Loop Until (Attempt = 3) Or (InputPassword = Password) If InputPassword = Password Then MsgBox("This password is valid!") Dim F1 As New Form1() F1.Show() Else MsgBox("This password is invalid!") End If End Sub End Class