internal static Boolean CreateAccessDatabase(String DatabaseFullPath)
{
Boolean bAns = false;
ADOX.Catalog cat = new ADOX.Catalog();
try
{
string theConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DatabaseFullPath;
cat.Create(theConnection);
bAns = true;
}
catch (System.Runtime.InteropServices.COMException ex)
{
MessageBox.Show(ex.Message);
bAns = false;
}
cat = null;
return bAns;
}