By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

Changing MsAcces database password through Visual Basic 6.0 ?

daffurankan
P: 30
HAi ,
this ankan wanted to know the code how can i change access database password through vb 6.0 code.
Jun 28 '08 #1
Share this Question
Share on Google+
2 Replies


QVeen72
Expert 100+
P: 1,445
Hi,

It is possible with DAO's
open the Database in "Exclusive Mode"
and use this code:

DB.NewPassword "OldPwd", "NewPwd"



Regards
Veena
Jun 28 '08 #2

daffurankan
P: 30
I am using microsoft Adodata Control(AdoDc) . how could i make it possible
And thanks for treplying now please guide me .
Jul 1 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.