Oracledba45
IS-IT--Management
Iam a bit new in VB and would like to write a program that allows the user to input their username then check username against stored usernames with store acceptable usernames.
also i want to allow the user name to be changed and add/amend it to a new stored username 'list' . i have wrote the code but i got lost a bit
Sub Main()
Dim usernames(4) As String
usernames(0) = "claire"
usernames(1) = "matt"
usernames(2) = "falicity"
usernames(3) = "dean"
usernames(4) = "june"
DIm inputString
inputString= InputBox("Enter the user name", "Enter Name", "", 500, 500)
if inputString
End Sub
also i want to allow the user name to be changed and add/amend it to a new stored username 'list' . i have wrote the code but i got lost a bit
Sub Main()
Dim usernames(4) As String
usernames(0) = "claire"
usernames(1) = "matt"
usernames(2) = "falicity"
usernames(3) = "dean"
usernames(4) = "june"
DIm inputString
inputString= InputBox("Enter the user name", "Enter Name", "", 500, 500)
if inputString
End Sub