What is will I use if i want to make a program in visual basic which ask for a username, password?
Kenz asked:
Im tying to make a project in visual basic which will ask for a username and password from the user. I made a database with a field for usernameas string, password as string and type(type of account, clerk or customer) as boolean. What codes will I use on the command button for sign in?? Can you also please leave a link for a tutorial about database? Please and thank you!!
Related posts:
- How to create a login form in visual basic which is linked to SQL server database? HELP? Zacken asked: I’m creating a database program in Visual basic...
- I have a question here about Visual Basic programming, hope you guys will answer:? bill asked: I want to create a program (in Standard...
- How to write a program in Visual Basic to add, update, or delete records? Kevin asked: Okay, I’m about stressed to the limits right...
- Adding in hotkeys in a Visual Basic program? mad_genius575 asked: What line of code or whatever do I...
- Visual basic programming help? dalibor.suhanji asked: I am using visual asic 6 enterprise edition....
Filed Under Programming & Design |
Tagged With Boolean, Command Button, Visual Basic
Comments
3 Responses to “What is will I use if i want to make a program in visual basic which ask for a username, password?”
we also make project in VB, it is also our problem but our teacher told as that we must deactivate the settings of the VB and set as default. it’s kinda difficult to find the setting option just find it. it been 3 years when we use the VB. i cant remember the rest of it. im from phil.
not enough info..
are you using vb6 or vb.net ? what database have you created.. MS access or a database on mySQL or SQL server or somewhere else.
use your head!!!!
As far as I understood, you’re asking about the types of controls to use: on your form, you would use textboxes for the username and password (set the PasswordChar property to * to designate this field as password), and for the type of account you’d use option buttons. And you’d have a sign in button, when clicked would go to the database and compare the username/password and account type with database columns and allow login if they meet the success criteria set by you. I am not sure what kind of tutorial you’re looking for.