Student Project

Login Program
Ability Level: Super Hard
Estimated Time: 1 hour
Objectives: Learn to use the menu bar, Message Box functions, and loading text.
Materials and Resources:
  • Visual Basic Software
Overview: Create a Program that allows you to use the menu bar to exit the program and also masking login password. You must have at least 2 menu items and you also have to use the loading code provided. Atleast one of your message boxes must have a yes or no option.
Instructions: Create a new form. Make 2 text boxes and 3 labels. Click on the password text box and go the PasswordChar in the porperties box. Now put a "*" in there. The rest should be easy.
Hints: Loading Code
Private Sub
    dim inttext1 as string
    dim inttext2 as string
    open "z:\login.txt" for input as #1
    do while not EoF(1)
    Input #1, inttext1
    label1.caption=inttext1
    loop
    close #1
End Sub
_________________________________________________