CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2001
    Posts
    160

    database password

    I am using dao 3.5 I can create and open my data base with no problems. How can I create and open it with a password? How can i do the same thing using ado. Which is better to use ado, dao or what ever else there is to use?

    thanks

    Jason


  2. #2
    Join Date
    Oct 2001
    Posts
    9

    Re: database password

    'Open Database with password
    Dim db as database
    set db=opendatabase("C:\Test\db1.mdb",false,false,";pwd=yourpasword")


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

Featured