How to reset MS Access' password through VB.NET?

As a request from our client, we have to change the password of an existing local access database through a VB.Net & VB6 windows application.

Is it possible?
stephenlkbAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Connect With a Mentor Infotrakker SoftwareCommented:
Assuming you know the password, and assuming you're referring to the Database password, you would do this (in VB):

Dim dbs As DAO.DAtabase

Set dbs = DAO.OpenDatabase("Full path to database")
dbs.NewPassword "Old Password", "New Password"

I'm sure there is an equivalent method in .NET, but I don't know it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.