Results 1 to 5 of 5

Thread: Login

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    Login

    (moved)
    Last edited by martialdc; Jun 3rd, 2007 at 09:30 PM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Login

    Originally posted by Bluei2
    Attached with this is the Project that I am doing. Please check it..
    ???

    Anyways , If I remember correctly I did something similar with Olecommand obj and dataReader . command obj executes SQL Statement and returns the result to datareader . Then you would have to check datareader if returns true , data is correct then , or false if not correct .

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    How?

    What code should I write to do this?

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256

    Re: Login

    Originally posted by Bluei2
    This are the Users and the Password of my Project.

    UserName Password
    =========================
    GouLi a
    Volenger 123

    Using this code to Log in

    'Filter
    DataSet11.User.DefaultView.RowFilter = "UserName = '" & TextBox1.Text & "' And Password='" & TextBox2.Text & "'"

    If DataSet11.User.Count = 1 Then
    Dim aForm As New MDIForm()
    aForm.Show()
    End If

    I have already the correct UserName and Password but I can't log in. Attached with this is the Project that I am doing. Please check it..

    Kindly help me to do this? Or any other idea to make my Login more presentable.
    Attach the project so we can take a look.

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Bluei2
    What code should I write to do this?
    In case you couldn't figure it out yet , I posted a demo in the CodeBank Section . The same way I was talking about !
    here : http://www.vbforums.com/showthread.p...hreadid=250863

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width