Hi All
i need to open A MS Access File and this file protected with a password
My Data source was "Microsoft Access Database File (OLE DB)"
my main form is a login form and after i enter the user name and password
then the form need to connect to the access file .
i face a run time error "not valid password"
private void SignIn()
{
#region Users_Region
Stock_3DataSetTableAdapters.UsersTableAdapter UsersTA = new Pricing.Stock_3DataSetTableAdapters.UsersTableAdapter();
Stock_3DataSet.UsersDataTable UsersDT = UsersTA.GetData(); // stop here
DataRow[] UsersDR = UsersDT.Select();
#endregion
Many thanks
Open MS Access file protected with password
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
sanjeev pandey30 pointsPosted Mar 19, 2013, 3:28 AM EDT
actually i want to know if you know the access database passord?As u have mentioned-
My Data source was "Microsoft Access Database File (OLE DB)"
my main form is a login form and after i enter the user name and password
then the form need to connect to the access file .
Mohammed Gamal48 pointsPosted Mar 19, 2013, 5:28 AM EDT
Mohammed Gamal48 pointsPosted Mar 19, 2013, 7:19 AM EDT
Only it is succeed when I make a test connection
But when I run the application and enter the username and password it gives me error " not valid password"
1 short reply
sanjeev pandey30 pointsPosted Mar 19, 2013, 5:34 AM EDT