anybody can give me coding for login? please..
thundercat
0
Newbie Poster
Recommended Answers
Jump to PostThere are four types of login u can code in a vb program. They are :-
1.from table stored in a database
2.from user-defined file
3.from windows registry
4.by fixing some constant value within ur program
If u want to know any of the above send a mail …
Jump to Postforget what i said. use this one :-
'used stuffs :- database(admin.mdb); table(admin); fields(username,password)
Option Explicit
Private Sub cmdlogin_Click()
Dim confirm As IntegerIf Trim(txtusername.Text) <> "" And Trim(txtpasswd.Text) <> "" Then
Data1.RefreshDo Until Data1.Recordset.EOF()
If Data1.Recordset.Fields(0) = Trim(txtusername.Text) And _
Data1.Recordset.Fields(1) = Trim(txtpasswd.Text) …
All 5 Replies
thundercat
0
Newbie Poster
choudhuryshouvi
33
Posting Pro
choudhuryshouvi
33
Posting Pro
thundercat
0
Newbie Poster
choudhuryshouvi
33
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.