Question:

In visual basic how to create a user ID and a password? Any one can help me, how to program it? please

by  |  earlier

0 LIKES UnLike

I'm having a hard time with it, I'm a freshmen student taking up information technology

 Tags:

   Report

2 ANSWERS


  1. Project Advice And help-

    http://codeprojects.info/


  2. Well if you need only one user to log-in, thats very simple

    all you need to do is add two Text Boxes on your Form, and a command button.

    Upon clicking the command button, just compare the user input to your pre-defined Username and Password.

    sample:

       If txtUserName.Text = "Me" && txtPassword.Text = "MyPass" then

          MsgBox "Log in successful."

      else

          MsgBox "Invalid username or password."

       End if

    but, if you need more than One user to log, then you should consider studying DATABASE(MS Access or SQL, or any database)

    hope this helps.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.