Results 1 to 3 of 3

Thread: Using access with a password.... nid help?

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2002
    Location
    Dgte. City
    Posts
    45

    Question Using access with a password.... nid help?

    hi pipz,

    just a simple question. how do u connect vb to a access db that has a password?

    i created a db first without a password and using vb , it works. but wen i activated the security for my db. it gives me an error. could u show me how to connect my vb with access?

    Thanks in advance.
    Mark_V

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951
    strcnxn = "Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDBatabase Password =fred;Data Source=C:\Techni.mdb;Jet OLEDB:Engine Type=4;"
    Cnxn.Open strcnxn

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2002
    Location
    Dgte. City
    Posts
    45

    Cool

    thanks pasvorto...
    Mark_V

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