private static bool createDataBase(string path)
        {
            bool result = false;
                            
            try
            {
                AppDomain.CurrentDomain.SetData("DataDirectory", path);
                result = DBquery.createDBFile();
            } 
            catch  
            { 
                MessageBox.Show("Failed to create the database file.", "", MessageBoxButtons.OK, MessageBoxIcon.Stop);
                result = false; 
            }

            return result;
        }