brgdotnet
asked on
How to determine the version of an MS Access file (.mdb) using C#
I need to find a way to determine which version of Microsoft Access an access fil e is? I know how to open an access file, but not to determine which version the .mdb file is. I need to know how to do this in C#.
OleDbConnection con = new OleDbConnection(@"Provider =Microsoft .Jet.OLEDB .4.0;Data Source=C:\mydatabase.mdb;U ser Id=admin;Password=jinkies; ");
try
{
con.Open();
}
catch
{
Console.WriteLine("DB Open failed!");
}
OleDbConnection con = new OleDbConnection(@"Provider
try
{
con.Open();
}
catch
{
Console.WriteLine("DB Open failed!");
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER