Access Password

S

scorpion53061

Hi I am a vb.net developer trying to figure out a way to set the database
password programmatically like a user would in an access database. Is this
possible?

I am thinking if the value is stored in the registry then maybe I could do
something that way?
 
T

TC

No, it is not in the registry.

Try the NewPassword method of the database object:

db.NewPassword "oldpw", "newpw"

HTH,
TC


I don't have Access here to check, but I'm sure there is a method of the
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top