Make a Username and Password in VB 6.0

Private Sub log_in( ) if text1.text=("nathan") and text2.text=("cute") then form2.show me.hide else msgbox "sorry try to review ur username and password End sub
Submitted byprincenathanon Wed, 10/13/2010 - 12:04

In reply to by Anonymous (not verified)

eow
Submitted byAnonymous (not verified)on Fri, 11/19/2010 - 11:20

In reply to by princenathan

what is the shortest way in making databse in vb?
Submitted bykelvin (not verified)on Mon, 01/09/2012 - 14:09

In reply to by Anonymous (not verified)

i have simple payroll system!!
Submitted byJonathan (not verified)on Mon, 02/06/2012 - 21:49

In reply to by princenathan

!! are you a software Developer!? are you? !! if you are can you teach me how to create or how to make a VB !! its very difficult to me to create! because my Instructor very poor on teaching VB!!
Submitted byAnonymous (not verified)on Thu, 07/15/2010 - 18:14

i have connected vb to access using ADODc.the password and username was stored in access,,,can you help me with the codes.?tnx
Submitted byAnonymous (not verified)on Fri, 07/16/2010 - 12:09

Hi, Please help me create a vb 6 code that requires a user to log in. Hisr username and password are stored in an ms access table. Everytime he logs in, that table is searched for the corresponding username and password; if successful, form1 is opened; if not, the program displays a username and password misatch error message and allows the user up to 3 attempts before it closes the program. Also, please include a code that allows the user to change his password. Many thanks and God bless! Romie....
Submitted byAnonymous (not verified)on Thu, 07/22/2010 - 09:11

is it possible that the password appear as an asterisk "*" for the security of the user.

yes it's possible to show ur password as " * " . If u wanna 2 show password in TextBox, firstly...... click on the textbox properties..... & in this u see a option "Password" , then in this u type anything in this field by which u wanna 2 show ur password Saurabh Chauhan
Submitted byAnonymous (not verified)on Thu, 07/22/2010 - 20:19

Hi Romie do you want the full coding for this or the explanation of how it is done
Submitted bysadgroup3on Sat, 07/24/2010 - 21:20

i also want to know how to connect access in vb 6 and the codes for the log in. please help me. email me. [email protected] i really need help.
Submitted byAnonymous (not verified)on Sun, 07/25/2010 - 02:36

To use ADODB go to Project>Reference>Find Microsoft ActiveX Data Object 2.0 For me, I use modules. The Login.mdb here is the database name and has a tblUsers. Here is the code: ------------------------------------------------------------ Public db As New ADODB.Connection Public rs As New ADODB.Recordset Public sql as String Public Function SetCon() db = New ADODB.Connection db.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\Login.mdb" db.Open End Function Public Function SetRs() rs = New ADODB.Recordset rs.Open sql, db, AdOpenStatic, AdLockOptimistic End Function Public Function CloseCon() db.Close Set db = nothing End Function Public Function CloseRs rs.Close Set rs = nothing End Function ---------------------------------------------------------- Then on the frmLogin, put 2 textboxes and a command button. Textbox1 is for the Username and Textbox 2 for the Password. Here is the code for command button: Private Sub Command1_Click() SetCon sql="select * from tblUsers where Username='" + Text1.Text + '" and Password='" + Text2.Text + "'" SetRs If rs.RecordCount > 0 Then Unload Me frmMain.show Else MsgBox"ERROR",vbCritical End If Happy coding. Regards >>> Cidfrey here
Submitted byAnonymous (not verified)on Thu, 08/26/2010 - 15:13

In reply to by Anonymous (not verified)

hi guys! can you help me in my mini system? i don't how to create a daily time records of employees using vb.06 and database. pls help me with my codes. --chee :(
Submitted byAnonymous (not verified)on Wed, 10/06/2010 - 03:10

In reply to by Anonymous (not verified)

had to change your code here too due to some error Public Function SetRs() Dim rs As New ADODB.Recordset >>this line rs.Open sql, db, adOpenStatic, adLockOptimistic End Function sql="select * from tblUsers where Username='" + Text1.Text + '" and Password='" + Text2.Text + "'" >>>here ' and " has been misplaced after + Text1.Text + SetRs If rs.RecordCount > 0 Then >>error message "operation is not allowed when object is closed" Unload Me frmMain.show Else MsgBox"ERROR",vbCritical End If
Submitted byAnonymous (not verified)on Mon, 01/28/2013 - 15:34

In reply to by Anonymous (not verified)

it did'nt work...
Submitted bymrhumbleon Sun, 07/25/2010 - 21:23

this is a short step on how to connect MS Access to Vb6 Follow Project>Reference>Find Microsoft ActiveX Data Object 2.7 Library at my case i use 2.7 library if you want the brief tutorial just follow this http://code-brigade.blogspot.com/2010/07/how-to-connect-ms-access-database-in.html
Submitted byAnonymous (not verified)on Thu, 07/29/2010 - 17:02

how to find the code of delete
Submitted byAnonymous (not verified)on Mon, 08/02/2010 - 10:49

hi....can you help to make a simple payroll system using vb 6.0...pls....i need it this week...thanks to your reply..
Submitted byAnonymous (not verified)on Wed, 08/04/2010 - 15:12

-- can you plz give a sample code for the Querying in SQL ___INNERJOIN the 2 table in the database
Submitted byAnonymous (not verified)on Thu, 12/30/2010 - 03:55

In reply to by Anonymous (not verified)

ANSI STYLE: SELECT.................... FROM INNERJOINON=WHEREORDER BY; THETA STYLE SELECT,,........................FROM WHERE.=.AND ORDER BY
Submitted byAnonymous (not verified)on Wed, 08/04/2010 - 16:32

can you post codes or even videos of VB 6.0 using database connection not using a modules as connection.... tnx regards
Submitted byAnonymous (not verified)on Wed, 10/13/2010 - 11:45

hi to every1 give your topic about the programming
Submitted byAnonymous (not verified)on Tue, 11/02/2010 - 23:14

hey frens i doin a project in which my frontend is vb n backend oracle(sql). i hav a form in vb for changing the password n i have specified the username n password in sql by creating a table for the it . can any 1 plz send me the code to change the existing password.....
Submitted byAnonymous (not verified)on Fri, 11/26/2010 - 00:56

hi can you help me please for how to retrive data from textbox control to database in vb.net...........

1.create a database file 2.in vb project-->standard exe> establish connection to database and the text1.text=rst.fields(0).value 'rst is a record set
Submitted byAnonymous (not verified)on Sun, 12/05/2010 - 20:56

Select * from Booking Where bookingDate>Date() and showDate>date;
Submitted byAnonymous (not verified)on Thu, 12/16/2010 - 15:17

could you please give me a perfect username-password codes.....? tnx...
Submitted byAnonymous (not verified)on Wed, 01/05/2011 - 13:57

guys can you help me.. im a comp prog student sont know how to conncect my vb 6.0 in my access im using adodc.hope you can help me huhu msg me @ [email protected] tnx guys
Submitted byAnonymous (not verified)on Thu, 01/20/2011 - 13:44

how can i use a combo box in username, i don't know how can apply that can you help me pls..
Submitted byAnonymous (not verified)on Thu, 01/27/2011 - 12:11

can anyone help me on how to make a code with username and password?! the condition is: if username is right and password is wrong the output is "INVALID PASSWORD" if username is wrong and password is right the output is "INVALID USERNAME" if username and password is wrong the output is "ACCESS DENIED" if username and password is right the output is "ACCESS GRANTED" IF login attempts more than 3": in 4x attempt the output is "INTRUDER ALERT" In 5x attempts the output is "SYSTEM LOCK" Can anyone help me???!!! tetsudatte kuremasuka? domo arigatou!!!
Submitted byAnonymous (not verified)on Thu, 03/10/2011 - 13:21

I have create a a project, bt I don't know codes for reset password window. Plz help me, I need it immediately..
Submitted byAnonymous (not verified)on Wed, 10/05/2011 - 23:36

can you help me identify all the tables/entities to be use in the payroll system ?please . so that i can normalize the relationship for these :( help me.
Submitted byAnonymous (not verified)on Mon, 10/24/2011 - 11:20

can u help me make a username and password in visual foxpro 6.0?
Submitted bygmornob (not verified)on Fri, 01/13/2012 - 22:33

thanks for this concept of vb techdry.blogspot.com

Add new comment