Ejemplo n.º 1
0
        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;
        }