Results 1 to 3 of 3

Thread: Passwords in Access

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    Rijswijk, Holland
    Posts
    25

    Post

    Hello Vb users,

    I do have a few VB5 questions about the passwords in a Accass database.

    1 How can I create a Access database that is protected by a password?

    Set ProjectsWS = DBEngine.Workspaces(0)
    Set ProjectsDB = ProjectsWS.CreateDatabase("c:\test.mdb", dbLangGeneral)

    What do I have to fill in??

    2 If I made a database protected by a password, how can I change the password??
    If yes, how do I do this??

    Nice greetings,

    Ingrid.

  2. #2
    New Member
    Join Date
    Dec 1999
    Posts
    11

    Post

    I also face this issue. Can't decode MSAccess password in VB5 program.

    Ps. Need help!

    Rgds,
    Sam

  3. #3
    Member
    Join Date
    Nov 1999
    Posts
    63

    Post

    Set ProjectsWS = DBEngine.Workspaces(0)
    Set ProjectsDB = ProjectsWS.CreateDatabase("c:\test.mdb", dbLangGeneral)

    ' This will set the password for a database that does not already have a password.
    '
    ProjectsDB.NewPassword "", "YourPassword"


    Gerald M.

    [This message has been edited by Gerald (edited 12-07-1999).]

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