Results 1 to 2 of 2

Thread: vb and access

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    208

    vb and access

    I have an access database which has a password to it.
    I know the password.
    I want to use this database in my VB application.
    How can I use this password in my vb6 prog. to access this database.
    Pls advise

    thnks
    A Student

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089
    Code:
    ObjConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=pathof the mdbfile.mdb;Jet oledb: database password=mysupersecretpassword;"

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