I have connected some text fields on a form in VB, through Data Control, to a database in Access (test.mdb). At run-time, it works fine.
The problem is that if I protect the "test.mdb" database in Access by a PASSWORD, and then run the program, it does not work and an error message is displayed, "Not a valid password". I do not know how to pass the password in VB's code so that the database may be opened.
It is perhaps a very primitive or beginners' question, nevertheless, I am hopeful that someone may kindly come to my rescue. Thanks
ittobaba
The problem is that if I protect the "test.mdb" database in Access by a PASSWORD, and then run the program, it does not work and an error message is displayed, "Not a valid password". I do not know how to pass the password in VB's code so that the database may be opened.
It is perhaps a very primitive or beginners' question, nevertheless, I am hopeful that someone may kindly come to my rescue. Thanks
ittobaba