Results 1 to 5 of 5

Thread: USername & password

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    USername & password

    I make program and i wont to add one function..
    User will write in textbox1 your username and in textbox2 your password..
    then vb will send this information to some database in internet and then if that user name and password exist..then...will enable program..
    Can you tell me how to make this..
    THX

  2. #2
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: USername & password

    Database as in MySQL?
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Re: USername & password

    yes.................................If there is any better option...please tell me

  4. #4
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: USername & password

    Ok, what would be best is to setup a client/server setup...
    Server Computer
    :Server (made in VB)
    :MySQL Server

    Client Computer
    :Client (made in VB)

    Basically itll go like this..

    Server listens on a certain port -> Client connects to that port and sends username/password such as "John::john" -> Server recives data -> Server connects to MySQL DB -> Server runs query on database -> Server checks table data against username/password that was sent by Client -> If username/password was correct Server will send string like "correct" to the Client, else itll send "incorrect" (and a encrpytion for security puropes, not needed but will help against hacking) -> The client will work accordingly
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Re: USername & password

    is there any sample :P this is hard..

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