Results 1 to 2 of 2

Thread: changing passwords

  1. #1
    Guest

    Post

    I need to build an .exe. This program will search the database for a specific user_login and make that users password=Null.


    How would I begin this. I am reletivitly inexerpeiced to Db connections. I know i will have to extablish an ODBC connectioon.

    PLeas help

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    you could try something like this using ado:

    dim cn as new connection
    cn.open <connectionstringhere>
    cn.execute "update tablenamewithusersandpasswords set password = '' where username = 'bob'"
    cn.close

    it establishes a connection to your database, executes a SQL statement to set the password to a zero length string/null, and closes the connection.

    HTH

    Tom

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