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?
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.
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.