Hi
I am developing a small application that is required to encrypt the database (MS Access) before existing.
I have a class called Class1 in the project folder. This class holds the information about my database connection and it is connected to my form.
My Problem: When I access the data once, then when I click the "Encrypt Database and exist" button to encrypt the database and exist the application, the system generate error message because connection to database is still open (.ldb format of database file appear in folder). Because I did not know how to explain my situation I have created a project with 2 forms and class file to demonstrate my situation.
The project is attached and I use VB.net 2005
I will be glad if you solve the connection closure problem in attached project.
Many Thanks
I am developing a small application that is required to encrypt the database (MS Access) before existing.
I have a class called Class1 in the project folder. This class holds the information about my database connection and it is connected to my form.
My Problem: When I access the data once, then when I click the "Encrypt Database and exist" button to encrypt the database and exist the application, the system generate error message because connection to database is still open (.ldb format of database file appear in folder). Because I did not know how to explain my situation I have created a project with 2 forms and class file to demonstrate my situation.
The project is attached and I use VB.net 2005
I will be glad if you solve the connection closure problem in attached project.
Many Thanks