Results 1 to 6 of 6

Thread: Creating a login form that checks against the database

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    3

    Creating a login form that checks against the database

    Hello and HELP!

    I am a near or a complete newbie to vb 6.0 or any versions. ok..I'm assigned to create a login form with two textbox - username and password. Plus two command buttons, to enter or reset.

    So..how do i connect my form to my access database so that it would check against the database for the correct username and password before allowing the user to login? I have search through the posts in the forum and on the web for days but failed to find any or failed to understand it. Sorry for this newbish question because i am new..

    Thanks.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Creating a login form that checks against the database

    Welcome to the forums.

    Lets start with a basic question.

    Do you know how to connect to your database from VB6?

  3. #3
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Creating a login form that checks against the database

    how do i connect my form to my access database
    There realy are tons of examples how to acchieve that. Not that I don't want to help you, but did you try to do a search?


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    3

    Re: Creating a login form that checks against the database

    Hello Hack, i have some idea about connecting to a database just unsure about ado and stuff.

    And radjes, yes i have searched for them. I found some examples but i'm not sure how to use it together with the password checking idea. Some of the examples gave me several errors, there could be more that i haven't seen yet but believe me i have tried before posting. *goes to search for more*
    Last edited by Klaha; Feb 27th, 2007 at 08:02 PM.

  5. #5
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: Creating a login form that checks against the database

    Klha:

    si the geek has so real good information in this link:
    http://www.vbforums.com/showthread.php?t=348141

    And, I think this link does what you are trying to do:
    http://www.vbforums.com/showthread.p...t=Access+Login

    Good Luck

  6. #6

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    3

    Re: Creating a login form that checks against the database

    Thanks those helped a lot

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