J
Joe
Hello all,
I am trying to find a way to change an access database password at run
time in VB2005.
I open the connection to the database as shown below:
objConnection = New OleDbConnection( _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & AppPath & "MyDatabase.mdb" & ";" & _
"Jet OLEDBatabase Password=" & DBPassword)
and it works well. I have created a button on the form to enable the user to
change the database password but I am having a problem figuring out how to
actually change the password at run time.
Can anyone give me a few pointers please?
Thanks
I am trying to find a way to change an access database password at run
time in VB2005.
I open the connection to the database as shown below:
objConnection = New OleDbConnection( _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & AppPath & "MyDatabase.mdb" & ";" & _
"Jet OLEDBatabase Password=" & DBPassword)
and it works well. I have created a button on the form to enable the user to
change the database password but I am having a problem figuring out how to
actually change the password at run time.
Can anyone give me a few pointers please?
Thanks