Changed
  SelectedPath = @"apps"
to
 SelectedPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Reports")
This commit is contained in:
gjefferyes
2015-09-16 20:18:21 -05:00
parent 2d6c5a7e26
commit c61eead2ba

View File

@@ -40,8 +40,8 @@ namespace ROMVault2
{ {
ShowNewFolderButton = true, ShowNewFolderButton = true,
Description = @"Please select a folder for Dats", Description = @"Please select a folder for Dats",
RootFolder = Environment.SpecialFolder.MyComputer , RootFolder = Environment.SpecialFolder.MyComputer,
SelectedPath = @"apps" SelectedPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Reports")
}; };
if (browse.ShowDialog() != DialogResult.OK) return; if (browse.ShowDialog() != DialogResult.OK) return;
@@ -195,7 +195,7 @@ namespace ROMVault2
SaveFileDialog saveFileDialog1 = new SaveFileDialog SaveFileDialog saveFileDialog1 = new SaveFileDialog
{ {
Title = @"Generate Full Report", Title = @"Generate Full Report",
FileName = @"RVFullReport"+CleanTime()+".txt", FileName = @"RVFullReport" + CleanTime() + ".txt",
Filter = @"Rom Vault Report (*.txt)|*.txt|All Files (*.*)|*.*", Filter = @"Rom Vault Report (*.txt)|*.txt|All Files (*.*)|*.*",
FilterIndex = 1 FilterIndex = 1
}; };
@@ -226,7 +226,7 @@ namespace ROMVault2
SaveFileDialog saveFileDialog1 = new SaveFileDialog SaveFileDialog saveFileDialog1 = new SaveFileDialog
{ {
Title = @"Generate Fix Report", Title = @"Generate Fix Report",
FileName = @"RVFixReport"+CleanTime()+".txt", FileName = @"RVFixReport" + CleanTime() + ".txt",
Filter = @"Rom Vault Fixing Report (*.txt)|*.txt|All Files (*.*)|*.*", Filter = @"Rom Vault Fixing Report (*.txt)|*.txt|All Files (*.*)|*.*",
FilterIndex = 1 FilterIndex = 1
}; };