Changing MsAcces database password through Visual Basic 6.0 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daffurankan
    New Member
    • Apr 2007
    • 30

    Changing MsAcces database password through Visual Basic 6.0 ?

    HAi ,
    this ankan wanted to know the code how can i change access database password through vb 6.0 code.
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

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

    DB.NewPassword "OldPwd", "NewPwd"



    Regards
    Veena

    Comment

    • daffurankan
      New Member
      • Apr 2007
      • 30

      #3
      I am using microsoft Adodata Control(AdoDc) . how could i make it possible
      And thanks for treplying now please guide me .

      Comment

      Working...