Loading

Login module(help how to create) the database i'm using is MSAccess

6 posts / 0 new
Last post
Offline
Joined: 08/10/2009
Login module(help how to create) the database i'm using is MSAccess

how can i create a login module in vb.net? are the codes still the same in vb 6? please help me...

admin's picture
Offline
Joined: 11/14/2008
You can use the login form

You can use the login form within my hotel program in vb.net.

Offline
Joined: 08/10/2009
thank you sir

thank you sir

Anonymous
request login source code in vb.net

hi sir

Offline
Joined: 09/27/2010
Dim cmd As OleDbCommand = New
  1. Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM login WHERE username = '" & usernametxtbox.Text & "' AND password = '" & passwordtxtbox.Text & "' ", con)
  2. con.Open()
  3. Dim sdr As OleDbDataReader = cmd.ExecuteReader()
  4. ' If the record can be queried, Pass verification and open another form.
  5. If (sdr.Read() = True) Then
  6.  
  7. MessageBox.Show("The user is valid!")
  8.  
  9. Dim main As New mainform
  10. mainform.Show()
  11.  
  12. Me.Hide()
  13.  
  14. Else
  15.  
  16. MessageBox.Show("Invalid username or password!")
  17.  
  18. End If
Anonymous
request payroll system in vb.net

source code vb.net payroll system

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.