Results 1 to 3 of 3

Thread: access password

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    20

    Post

    if my access database has been protected by a password, how i'm login form vb coding?

  2. #2
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Post

    Here is for ADO method:

    Dim Conn as New ADODB.Connection
    Dim MyPwd$

    MyPwd$ = "123456789"

    With Conn
    .Provider = "Microsoft.Jet.OLEDB.4.0"
    .ConnectionString = "Data Source=C:\MyDb.mdb; Jet OLEDB atabase Password= " & MyPwd$
    .Mode = adModeReadWrite
    .Open
    End With

    ------------------
    A free Man stand on a free Land.
    [email protected]

    [This message has been edited by Chris (edited 02-21-2000).]

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