Professional Documents
Culture Documents
'If there is some freak turn of events and there is a error, it skips it.
'If there was no information entered then it returns a error message box
End If
'Exit Sub
MeHide = OCULTAME
Form2.Show
'If the text1 is equal to the password (reg001) then show the message box and the form
Else
'If the password is wrong, then it returns a message box saying wrong password
End If
End
End Sub
CONTRASEÑA 2 DE PROYECTO
'If there is some freak turn of events and there is a error, it skips it.
'If there was no information entered then it returns a error message box
End If
'Exit Sub
MsgBox "HOLA , " & Text1.Text & vbCrLf & "BIENVENIDO AL PROGRAMA ", vbInformation,
"Ejemplo"
MeHide = OCULTAME
Form2.Show
'If the text2 is equal to the password (reg001) then show the message box and the form
Else
'If the password is wrong, then it returns a message box saying wrong password
End
End If
End Sub
End
End Sub
Text1.Text = ""
Text2.Text = ""
End Sub