Results 1 to 3 of 3

Thread: HOW ACCESS OLEDB 4.0 PASSWORD PROTECTED

  1. #1

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81

    I NEED TO ACCESS A MDB ( ACCESS 2000) PASSWORD PROTECTED ( I DO HEVE THE PASSWORD ).. BUT IT DOEN'T WORK LIKE THE 3.51 ..

    I HAVE THIS CONNECTION : Conn1.Open "PROVIDER=MSDataShape;Data PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Tour\Tour.mdb;"

  2. #2
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    You need to also specify the following in your connectionstring

    Jet OLEDB:System Database
    ID
    Password

  3. #3
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621
    try this

    Code:
    cn.open ("Provider=Microsoft.Jet.OLEDB.4.0;" & _
            "Data Source=C:\Tour\Tour.mdb;" & _
            "Jet OLEDB:Database Password=Password;")
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


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